Re: [Hampshire] NAS permissions

Top Page

Reply to this message
Author: Imran Chaudhry
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] NAS permissions
Might be reaching here but did you pass a password to Gnome "Connect
to Server" or was it a "anonymous browse" login?

If you supply a password to the "sudo mount –t smbfs" options does it work then?

On 1 January 2014 11:54, Rob Malpass <linux@???> wrote:
> Hi all
>
>
>
> Happy New Year – my first post for a while.
>
>
>
> I’m having a bit of trouble setting permissions properly to mount a NAS
> device as read write for a given user. It’s a brand new QNAP TS-412 and
> seems to be a little Linux box with a nice graphical UI. Surprise,
> surprise, connect via Windows and I can move, read and write with no user or
> permssions problems.
>
>
>
> If I then do:
>
>
>
> sudo mount –t smbfs //sharename /mnt/abcd –o user=fred
>
>
>
> then I can get read access to the mount point – but neither
>
>
>
> sudo uname –a > test
>
> or
>
> uname –a > test
>
>
>
> in /mnt/abcd produce anything other than permission denied.
>
>
>
> I’ve never been too hot on umask and permissions but a quick ls –l /mnt
> gives:
>
>
>
> drwxr-xr-x  1 root root    0 Dec 22 14:51 abcd

>
>
>
> and even
>
>
>
> chmod a+w /mnt/abcd doesn’t make a difference. It must be something easy –
> because if I connect to it via gnome “Connect to Server” – no worries – full
> rw access.
>
>
>
> Can anyone help please? – this is driving me nuts.
>
>
>
> Cheers
>
> Rob
>
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------




--
Key fingerprint = EF78 310C C517 9564 9ECA 82F6 68FA E621 17E1 5D16
http://about.me/imranchaudhry

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------