User Tools

Site Tools


ubuntu:samba:mount_a_windows_share

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:samba:mount_a_windows_share [2019/12/09 00:08] peterubuntu:samba:mount_a_windows_share [2020/07/15 09:30] (current) – external edit 127.0.0.1
Line 167: Line 167:
  
 </WRAP> </WRAP>
 +
 +----
 +
 +===== Extende fstab to assign full permissions to newly created files and directories =====
 +
 +Add these lines to /etc/smb.conf on the server:
 +
 +<file bash /etc/smb.conf>
 +...
 +create mask = 0666
 +force create mode = 0666
 +directory mask = 0777
 +force directory mode = 0777
 +...
 +</file>
 +
 +This gives 0777 permission to every samba users in the write list for new created directory or files.
  
 ---- ----
ubuntu/samba/mount_a_windows_share.1575850094.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki