[ale] mount.cifs showing uid/gid of remote nas

James Sumners james.sumners at gmail.com
Tue Oct 23 19:07:36 EDT 2007


Maybe you can mount it with smbfs instead of cifs.

On 10/23/07, J. D. <jdonline at gmail.com> wrote:
> Thanks James. I read that article in my digging but I wasn't
> too keen on how to disable the cifs extensions. I think I need to hack
> the nas to get shell access to try that. It is a Western Digital mybook
> world ediitionII that some say can be hacked to allow access to its
> linux os. Wouldn't that be sweet?
>
> it is said that gcc is present so that opens up some possibilities.
>
> Best regards,
>
> J. D.
>
>
> On 10/23/07, James Sumners <james.sumners at gmail.com> wrote:
> > This -- http://www.google.com/search?q=mount.cifs+uid
> >
> > Returned --
> http://lists.samba.org/archive/smb-clients/2005-May/000572.html
> >
> > On 10/23/07, J. D. <jdonline at gmail.com> wrote:
> > > Hey all,
> > >
> > > I have been trying to properly mount a samba share on my home
> > > nas. I can mount it but it retains the uid and gid of the nas
> > > instead of the local ones.
> > >
> > > Upon doing some research into mount.cifs it indicates
> > > that the local uid and gid parameters can be set  as arguments
> > > and that they should override the remote ones. When I
> > > try this though it doesn't seem to have an effect.
> > >
> > > Here is what I have tried:
> > > [17:51:54 root at servo /home]# mount.cifs //$NAS_IP_HERE/store /home/store
> -o
> > > username=$FOOUSER,uid=501,gid=501
> > >
> > > and here is what I end up with:
> > > [17:52:09 root at servo /home]# ls -l /home
> > > drwx------ 11       33 root        0 Oct 22 10:39 store/
> > > [17:52:12 root at servo /home]#
> > >
> > > As you can see the uid is 33 and the gid is root. It would be really
> cool
> > > for it to have the
> > > gid and uid of my $FOOUSER instead. This is under Centos 5 and I have
> > > duplicated similar
> > > trouble with Ubuntu 7.04. Help a geek out please. ;)
> > >
> > > Best regards,
> > >
> > > J. D.
> > >
> > >
> > > _______________________________________________
> > > Ale mailing list
> > > Ale at ale.org
> > > http://www.ale.org/mailman/listinfo/ale
> > >
> >
> >
> > --
> > James Sumners
> > http://james.roomfullofmirrors.com/
> >
> > "All governments suffer a recurring problem: Power attracts
> > pathological personalities. It is not that power corrupts but that it
> > is magnetic to the corruptible. Such people have a tendency to become
> > drunk on violence, a condition to which they are quickly addicted."
> >
> > Missionaria Protectiva, Text QIV (decto)
> > CH:D 59
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://www.ale.org/mailman/listinfo/ale
> >
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>


-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59



More information about the Ale mailing list