[ubuntu-uk] SMB Share - Fstab

Chris Rowson christopherrowson at gmail.com
Mon Jun 6 13:16:41 UTC 2011


Hi there folks,

I'm having a stupid day today and would appreciate a sanity check!

I have a line like this in my fstab file //mywindowsserver/share
/home/myuser/mount cifs
credentials=/home/myuser/smb/credentials,dir_mode=0700,file_mode=0700,uid=1000
0 0

As I understand it, when this remote NTFS SMB share is mounted, the
files and folders mounted on it will have 0700 permissions, will be
owned by UID 1000 (from the perspective of my Linux system) and nobody
else on the system (except for root of course) will be able to access
them.

I am right aren't I?!

Chris



More information about the ubuntu-uk mailing list