[arch-general] NAS drive revisited

P .NIKOLIC p.nikolic1 at btinternet.com
Mon May 21 02:53:38 EDT 2012


On Mon, 21 May 2012 01:20:21 +0200
Damjan <gdamjan at gmail.com> wrote:

> > I have read the Arch Wiki till i am blue in the face already hence
> > the mail ..
> >
> >
> > mounting with SMB  using the line below
> >
> > mount -t cifs //192.168.0.154/backups -o /home/pete/nas/
> >
> > After entering the password  it mounts . mount reports ..
> >
> > //192.168.0.154/backups on /home/pete/nas type cifs
> > (rw,relatime,sec=ntlm,unc=\\192.168.0.154\backups,
> > uid=0,username=root,noforceuid,gid=0,noforcegid,addr=192.168.0.154,unix,posixpaths,serverino,acl,rsize=1048576,wsize=65536,actimeo=1)
> >
> > i can see one thing but cant alter it  username=root but you can
> > only mount as root  or using sudo as i have been unless of course
> > you know different.
> 
> 
> add uid=pete in the mount options.
> 
> I don't know if it's documented in the wiki, but sure it is in the
> `man mount.cifs` :)
> 
> 

I'll give that a try  thanks ..


Pete .


-- 
Linux 7-of-9 3.3.6-1-ARCH #1 SMP PREEMPT Sun May 13 10:52:32 CEST 2012
x86_64 GNU/Linux


More information about the arch-general mailing list