I couldn't find sufficient resources on this subject. And I'm stuck and clueless to what and if I am doing anything wrong.
I issued this command in the terminal:
sudo mount.cifs //comp2.localnet.webwaredev.org/games /mnt/games-share -v -o uid=500 gid=networkshares file_mode=0775 dir_mode=0775
It should be any directories/files created should be assigned uid 500, gid=networkshares and permissions set to 0775.
I had set it to verbose mode and it outputed:
mount.cifs kernel mount options: unc=//comp2.localnet.webwaredev.org\games,user=root,ver=1,uid=500,ip=192.168.0.3,pass=********
If i'm reading this correctly, only uid was passed. When I 'ls /mnt/games-share', 500 root **** for each file/directory.
Am I doing this correctly? Am I missing a special switch?