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