No rights to open NFS folders on Synology NAS?

hello,

I have a probably very simple problem with the NFS shared folders on my Synology NAS .

In any case, I have clearly underestimated the configuration effort for the NFS device, but that’s certainly my fault.

  1. Right now I can access the directories on the nfs device (Synology NAS) throughmy root/su account, and “showmount” also shows the mount points with the appropriate directories .

But from my user account the directories cannot be opened, the returned message is: cd:/mnt/dir: No authorization , or: folder/mnt/directory can not be opened (in Dolphin).

The options in the fstab, or NFS client configuration are: auto , user , defaults, rsize = 32768 , wsize = 32768 , tcp , intr , async (these are the ones I’ve found as “reasonable” on the Synology forum) and with these I should be able to access th nfs folders als user on the NAS device … or what have I misunderstood?

  1. However, I would also like to use autofs for the mount . Does that make sense ? … ANd what settings do I have to use in that case ??

In any case, thanks for the support!

JAy


OpenSUSE 13.2

On 2014-11-16 20:36, jmbarkei wrote:

> 1. Right now I can access the directories on the nfs device (Synology
> NAS) throughmy root/su account, and “showmount” also shows the mount
> points with the appropriate directories .
>
> But from my user account the directories cannot be opened, the returned
> message is: cd:/mnt/dir: No authorization , or: folder/mnt/directory
> can not be opened
(in Dolphin).
>
> The options in the fstab, or NFS client configuration are:

Wait.

On NFS, the permissions are defined on the server, not the client. You
can not open files or dirs as user because the server, the NAS, does not
want you to. Yes, daft, if it forces you to be root.

Check what permissions the mount has (ls -l /mnt/dir). See if there is a
group that has rx, or rwx permissions.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Now, now …

Here we do not go assigning blame.:wink:

Instead, we try to diagnose and come up with a solution.:\

Thanks for giving me hope again … :wink:

… and Carlos, you were right, I just didn’t get the group privileges right:
USERS didn’t have access permissions on the folders, and though the permissions for the user himself were correct, there was no way to get past the USERS privileges.

Just as I said: my fault … :wink: (or, may be: just the clash of everyday logic and linux logic … ;-))

But maybe this might help others with the same weakness in programming-logic …

Thanks a lot, nevertheless.

Jay

On 2014-11-17 13:26, jmbarkei wrote:

> Just as I said: my fault … :wink: (or, may be: just the clash of everyday
> logic and linux logic … ;-))

Nay. Four eyes see more than two :wink:

Were you able to adjust permissions on the nfs server side? Not all
those devices allow it. My multimedia center does not, for instance. And
it runs Linux.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)