D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] systemd and NFS shares

 

On 03/09/2021 20:02, Julian Hall wrote:
<snip>
>
> Yes it does have SSH enabled but I don't use it - as I only just found it.
>
> NFS Permissions per NFS share
>
> Client 192.168.1.0/30 - as far as I know this allows the range from 1.0 up to 
> *.*.1.30
> Privilege Read/Write
> Squash  map root to admin
> Asynchronous Yes
> Non-privileged port Yes
> Cross-mount Yes
>
> Maximum NFS Protocol 3 (can go up to 4 but left alone). I exported a Permissions
> Report but that said nothing about NFS or any other networking.
>
> I think that's all of it.
>
> Julian
>
>
I'd be a bit careful of 'cross-mounts' as they will inherit permissions from
"elsewhere" (The man page details exactly how these are applied) but if you have
something strange in your parent folder, that may well screw things up too ..

/30 is what's termed a 'bit-mask' ie. convert that decimal number to binary, and
those are the 'bits' that you are 'allowing'. Frequently this is /24 or 255.255.255.0
which means all but the *last* octet(?) has to be the same, to "work" ie. anything
from 192.168.1.0 - 192.168.1.255. This can be restricted further to /27 and of course
/32 means a single IP only. If you want only 192.168.1.0 - 192.168.1.31 to "work" /27
would be the correct bit-mask.

I'm not sure of anything else untoward Yet .. but I wonder if your NAS has a
differing idea of who 'julian' is, as opposed to your PC. In this instance I would
probably do an 'ls -aln' (aiy-ell-en) and compare the numbers in the first column on
your PC to that in the 'users' section of your NAS.

Cheers,
Michael/veremitz.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq