I am mounting a Windows partition from my Linux workstation. Using
smbmount //office/SharedDocs /mnt/windows -o rw,uid=1000,gid=storage
user 1000 can read and write the disk, but 1001 cannot. Without any uid, only "root" can write to the disk.
I thought that by having the gid be something common, that members of the group would be ok, but that doesn't seem to be the case. All users are members of "storage", but only 1000 can write the disk.
I'm wondering how to give the group read write access. For example after the disk is mounted, a directory listing shows that the group only has read and execute access:
-rwxr-xr-x 1 user storage 5 2005-12-04 09:12 temp.dat
I'd like to move this to fstab so it is not user specific. Reading the smbmount man page has got me this far, but I'm confused about how to finish.
Can someone suggest an appropriate gid and uid combintation that will serve the purpose? Or give me an idea for giving the group write access?
Thanks in advance for your patience!