I would like to mount a cifs drive for 2 user accounts on a Linux server.
I have no trouble mounting the cifs drive for me, or for sudo
, but I need to mount it so that two users can access it:
sudo mount -t cifs -o username=BLAH,password=BLAH,uid=1000,gid=1000 //192.168.168.200/home /mnt/officenas
This works fine for my access, and:
sudo mount -t cifs -o username=BLAH,password=BLAH //192.168.168.200/home /mnt/officenas
works fine for sudo
.
How do I allow 2 separate users who don't have sudo
access to have read/write access of the same mounted drive?
There are a lot of settings in the man pages which I frankly don't understand, so any help would be appreciated.
smbnetfs
interesting. Read this (rather old) Q&A.