Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244913

Re: Mounting NFS share from Synology NAS

From Henning Follmann <hfollmann@itcfollmann.com>
Newsgroups linux.debian.user
Subject Re: Mounting NFS share from Synology NAS
Date 2022-02-01 17:30 +0100
Message-ID <DM4cx-2Uz-1@gated-at.bofh.it> (permalink)
References <DM3q9-2pa-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 01, 2022 at 04:32:57PM +0100, Christian Britz wrote:
> Hello,
> 
> I am playing with NFS on my home network for the first time and I have
> some difficulties/questions.
> 
> The server is a Synology NAS, it is based on Linux, supports NFS4 and
> gets configured by a web interface.
> The NAS offers a Kerberos authentification for NFS but I did not
> configure this. Instead, something called AUTH_SYS is enabled. Only one
> specific host is allowed to access the share.
> 
> 
> This is my entry in /etc/fstab:
> diskstation:/volume1/Medien /Daten nfs
> nfsvers=4,rw,x-systemd.automount,noauto 0 0
> 
> Mounting only works as root, I guess this is expected without further
> configuration.
> 
> 1. Security: It seems that the only security check is the check for my
> IP adress. Is it possible to achieve more without dealing with Kerberos?
> 
> 2. Accessing the mounted share with my personal user: The access rights
> for /Daten look right, the user on the NAS has the same name as the user
> on my machine. But:

And how about the userId?
The username does not mean anything. The access control is 
based on Id.

> 
> ls -ahl /Daten/
> ls: cannot open directory '/Daten/': Permission denied
> 
> sudo ls -ahl /Daten/
> [sudo] password for xyz:
> total 340K
> drwxrwxrwx 14 xyz root  4.0K Jan 30 21:31 .
> drwxr-xr-x 19 root   root  4.0K Jan 24 09:58 ..
> drwxrwxrwx  5 xyz users 4.0K Jan 30 21:31 Directory1
> drwxrwxrwx  4 xyz users 4.0K Aug 10 10:28 Directory2
> 
> Why can't user xyz access the mountpoint?
> 
> Thank you for your support.
> 
> Regards,
> Christian
> 


-H

-- 
Henning Follmann           | hfollmann@itcfollmann.com

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-01 16:40 +0100
  Re: Mounting NFS share from Synology NAS Henning Follmann <hfollmann@itcfollmann.com> - 2022-02-01 17:30 +0100
    Re: Mounting NFS share from Synology NAS Greg Wooledge <greg@wooledge.org> - 2022-02-01 17:50 +0100
      Re: Mounting NFS share from Synology NAS Tixy <tixy@yxit.co.uk> - 2022-02-01 21:10 +0100
      Re: Mounting NFS share from Synology NAS Anssi Saari <as@sci.fi> - 2022-02-02 13:00 +0100
        Re: Mounting NFS share from Synology NAS gene heskett <gheskett@shentel.net> - 2022-02-02 13:40 +0100
          Re: Mounting NFS share from Synology NAS Bob Weber <bobrweber@gmail.com> - 2022-02-02 23:10 +0100
            Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-03 00:40 +0100
            Re: Mounting NFS share from Synology NAS Tixy <tixy@yxit.co.uk> - 2022-02-03 09:00 +0100
              Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-03 11:10 +0100
        Re: Mounting NFS share from Synology NAS Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-09 10:50 +0100
          Re: Mounting NFS share from Synology NAS Anssi Saari <as@sci.fi> - 2022-02-10 15:30 +0100
    Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-02 02:10 +0100
      Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-02 14:40 +0100
  Re: Mounting NFS share from Synology NAS Bob Weber <bobrweber@gmail.com> - 2022-02-01 17:40 +0100
    Re: Mounting NFS share from Synology NAS Christian Britz <cbritz@t-online.de> - 2022-02-02 00:10 +0100

csiph-web