Hello
Linux User <[email protected]>
| Newsgroups | gmane.linux.file-systems.cifs |
|---|---|
| Message-ID | <[email protected]> |
I'm not sure if I am on the right mailing list for this questions. I'm having a hard time understanding/setting file permissions/uid/gid on the client side. Here's my mount line: sudo mount.cifs //comp2.localnet.webwaredev.org/games /mnt/games-share -v -o uid=500 gid=networkshares file_mode=0775 dir_mode=0775 It's in verbose and this was what was outputted: mount.cifs kernel mount options: unc=//comp2.localnet.webwaredev.org\games,user=root,ver=1,uid=500,ip=192.168.0.3,pass=******** And this is what I am running into: [lhorace@netsrv games-share]$ cd test [lhorace@netsrv test]$ mkdir test2 [lhorace@netsrv test]$ ls -l total 0 drwxr-xr-x. 2 lhorace root 0 2009-10-26 12:28 test2 [lhorace@netsrv test]$ touch filetext.txt touch: cannot touch `filetext.txt': Permission denied [lhorace@netsrv test]$ cd test2 [lhorace@netsrv test2]$ touch filetest.txt touch: cannot touch `filetest.txt': Permission denied [lhorace@netsrv test2]$ On a regular filesystem folder, if I am the owner of the folder, I should be able to create files within the folder. And reading the output correctly, it seems that uid is the only thing that get's pass to the kernel. Note: uid=500 = lhorace, and lhorace exists on bothsystems including networkshares. What am I doing wrong? Any hints/clues would be entirely appreciative thank you.. =)