Excellent how-to--it helped me a lot, and I haven't nearly finished studying it.
One question and one observation:
I can't find any reference to this in man mount, to which man fstab refers for details on mounting options. Instead it mentions uid=xxx and gid=xxx to set the owner and group. I don't mount any vfat shares but uid and gid work with smbfs shares. I might have to try out your syntax.VFAT/NTFS:
umask can be used to set permissions if you wish to change the default.
Syntax is "odd" at first.
To set a permissions of 777, umask=000
to set permissions of 700, umask=077
o= Sets owner. Syntax: must use owned BY USER ID # not name.
g= sets group ownership of mount point. Again syntax is by GROUP ID # not name.
I could not automount at boot my smbfs shares until I found the this fix in the Forums. I hope it will help someone else. I think the problem was related to the fact that I don't use a username and password in the Windows systems. All I had to do was addto the options list in the fstab line for these shares.Code:username=share,password=
Thanks again for a great article.
Buck
Bookmarks