[arch-general] NAS drive revisited

Damjan gdamjan at gmail.com
Sun May 20 19:20:21 EDT 2012


> 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` :)


-- 
дамјан


More information about the arch-general mailing list