Announcement

Collapse
No announcement yet.

Cannot access mounted NFS share as user [non-root]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Cannot access mounted NFS share as user [non-root]

    I'm mounting a Synology NFS share using the following fstab line:

    Code:
    192.168.1.11:/volume1/Backup /home/gonzo/SynMounts/Backup nfs auto,rw,user 0 0
    If I "cd" into the mount as root, I can see it has mounted successfully - all my files are visible. But I cannot access the mount as a regular user, which is my problem:
    Code:
    gonzo@abc:~/SynMounts$ mount Backup/
    gonzo@abc:~/SynMounts$ cd Backup/
    bash: cd: Backup/: Permission denied
    Permissions pre-mount:
    Code:
    4 drwxrwxr-x  2 gonzo gonzo 4096 Jul 19 19:20 Backup
    Permissions post-mount:
    Code:
    8 d---------  3 root  root  4096 May 25 14:05 Backup
    I thought having the user option was meant to allow me to access the share without being root. How do I have fstab mount such that the user can access without root permission?

    #2
    Try this instead:

    192.168.1.11:/volume1/Backup /home/gonzo/SynMounts/Backup nfs rw,hard,intr,noexec,users 0 0
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Using those options, the mount point still requires root permissions to access. I am perplexed, the problem must be with the NAS because this has worked in the past (but since then I have reinstalled both Kubuntu and the OS on both the NAS).

      Comment


        #4
        Originally posted by cosmic_tourist View Post
        Permissions pre-mount:
        Code:
        4 drwxrwxr-x  2 gonzo gonzo 4096 Jul 19 19:20 Backup
        Permissions post-mount:
        Code:
        8 d---------  3 root  root  4096 May 25 14:05 Backup
        Hmmmm. Why did that time/date stamp change? Is there a root-owned file or directory in the root of the filesystem on the NAS device?

        Comment


          #5
          I SSH'd into the Synology and looked at the directory permissions there:
          Code:
          8 drwxrwxrwx    3 root     root          4096 May 25 14:05 Backup
          So I guess that's where the datetime is coming from. This looks like a Synology problem.

          Comment

          Working...
          X