NFS: filesystem is mounted with heterogenous file/dir ownership

Discussion about using NAS on Linux and Unix OS.
Post Reply
dabrain34
First post
Posts: 1
Joined: Thu Jan 09, 2020 8:05 pm

NFS: filesystem is mounted with heterogenous file/dir ownership

Post by dabrain34 » Sun May 24, 2020 2:19 am

Host: Ubuntu 18.04

I'm trying to mount a nfs share i'm having on my qnap but the filesystem is mounted with heterogeneous.
This folder is public and used by every user but i have folder created by various user.
How could I unify this. Here is an example
```
drwxrwxrwx 16 root root 4096 may 23 19:35 .
drwxr-x---+ 3 root root 4096 may 17 19:13 ..
drwxrwx--- 2 root root 4096 may 23 17:51 .AppleDB
drwxrwx--- 7 root root 4096 mar 4 00:40 CINEMA
-rw-r----- 1 root root 0 abr 11 18:33 messages
drwxrwxrwx 2 root root 4096 may 23 19:40 @Recycle
drwxrwxrwx 15 root root 4096 may 1 10:25 .streams
drwxrwx--T 3 scerveau users 4096 abr 10 21:28 .TemporaryItems
drwx------ 4 scerveau scerveau 4096 may 17 19:07 .Trash-1000
drwxrwxrwx 3 root root 4096 feb 9 21:33 .@upload_cache
drwxrwx--- 3 1002 users 4096 mar 30 15:22 Video
```
Because when i mount with

sudo mount -t nfs -o nolock IP:/Public /mnt/NFS with user scerveau

I can not access the folder CINEMA, permission denied.

Any idea ?

Post Reply

Return to “Linux & Unix (NFS)”