I have Samba set up and can mount a windows directory succesfully. I
have 2 basic problems I need some help with:
1) The mounted share is owned by root but the user that needs r/w
permission only gets r/o. As I understand it the owner of a mount is
determined by the user who mounts it. How do I mount the share and
specify the owner as other then root in fstab? Which brings me to #2.
2) The share, in typical windows fashion, contains spaces and other
not alphabetic characters. I cannot come up with the correct syntax in
/etc/fstab to mount this share. I can do it with the mount command
using quotes but not in fstab.
For reference here is the mount command that works:
mount -t smbfs "//dap001/SHARE (D)" /mnt/DAP001-D password=xxxxxxxx
Can someone help with these problems? TIA.
have 2 basic problems I need some help with:
1) The mounted share is owned by root but the user that needs r/w
permission only gets r/o. As I understand it the owner of a mount is
determined by the user who mounts it. How do I mount the share and
specify the owner as other then root in fstab? Which brings me to #2.
2) The share, in typical windows fashion, contains spaces and other
not alphabetic characters. I cannot come up with the correct syntax in
/etc/fstab to mount this share. I can do it with the mount command
using quotes but not in fstab.
For reference here is the mount command that works:
mount -t smbfs "//dap001/SHARE (D)" /mnt/DAP001-D password=xxxxxxxx
Can someone help with these problems? TIA.