Changes

Linux CIFS Utils and Samba

347 bytes added, 03:15, 17 December 2016
/* all mounted files and directories owned by root */
The following lines were added (+) and removed (-):
Now when the share is mounted all files and folders will appear as the user with uid 1000.Now when the share is mounted all files and folders will appear as the user with uid 1000. This is fine if you are the only user of the system.  On a multiuser system this is problematic as other users will still be denied.  Another option is to use dir_mode / file_mode to give everyone access:  dir_mode=0777,file_mode=0666 which will look like: //server_name/share_name /mount_path cifs defaults,dir_mode=0777,file_mode=0666 0 0
Administrator
4,579
edits