Well, yes I know. Thanks for the answer still. I'm getting weird errors when creating a file. My fs is running as root, and tries to - when creating a file - to take the uid and the gid of the requesting user in account. Someone suggested the use of setfsuid and setfsgid. I'm still looking for an answer. Do you maybe know something about the use of these commands? Stef Bon 2010/7/29 Jeff Layton <jlayton@xxxxxxxxx>: > On Thu, 29 Jul 2010 09:28:17 +0200 > Stef Bon <stefbon@xxxxxxxxx> wrote: > >> Hello, >> >> I'm working on a construction to offer the user easy access to all >> kinds of resources, local like USB sticks, CDroms and harddrives, >> >> Two major apps make that possible, fuse-workspace-ll, a fuse fs to >> create userfriendly paths to the resource, and redirect the >> user/process to the share mounted by the automounter. >> >> Look for more information on: >> >> http://linux.bononline.nl/linux/mount.md5key.new/ >> >> Now looking at how a shar is mounted, I see the following: >> >> //SCLFS20091030/sbon >> /mnt/mount.md5key/sbon/mount/601d329b6fd5c9d801e620ed7ac41606 cifs >> rw,mand,relatime,unc=\\SCLFS20091030\sbon,username=sbon,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.2,posixpaths,setuids,serverino,acl,rsize=16384,wsize=57344 >> 0 0 >> >> username=sbon, of course because of the use of a credentials file. But >> why are the uid and the gid not set to this value? >> > > The real uid/gid of the user doing the mounting is 0. You can of > course override those values with whatever you wish if you're root. > > -- > Jeff Layton <jlayton@xxxxxxxxx> > -- To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html