USB disk mounted on host with 777 permissions

pmgsrosa

New Member
Oct 2, 2025
3
0
1
For some reasons I need an USB disk mounted on my proxmox host (Intel N100 mini PC) with 777 permissions.
I have that with another USB disk I installed more than 1 year agora but can't find a way to do it with this one.
They are mounted at /mnt/pve:

1 256 drwxrwxrwx 11 root root 262144 Sep 27 13:48 plexlibrary01
1 256 drwxr-xr-x 7 root root 262144 Oct 2 13:14 plexlibrary02

Both disks are exfat filesystems and permissions are set with 777 in the directory previously to the mount.
I tested with mount options like "mount -t exfat -o umask=000,rw,noatime /dev/sdb2 /mnt/pve/plexlibrary02", and some other without success.

Anyone have a clue?
Thanks.
 
At my workstation:

Bash:
drwxr-xr-x   2 root root   40 Oct  2 16:12 test/

# mount -t exfat -o umask=0000 /dev/sdf1 /test

# ls -ld /test
drwxrwxrwx 4 root root 32768 Oct  2 16:29 /test/

So looks like it works here...
 
At my workstation:

Bash:
drwxr-xr-x   2 root root   40 Oct  2 16:12 test/

# mount -t exfat -o umask=0000 /dev/sdf1 /test

# ls -ld /test
drwxrwxrwx 4 root root 32768 Oct  2 16:29 /test/

So looks like it works here...

Thanks, but...

root@proxmox01:~# mount -t exfat -o umask=0000 /dev/sdb2 /mnt/pve/plexlibrary02

drwxrwxrwx 11 root root 262144 Sep 27 13:48 /mnt/pve/plexlibrary01
drwxr-xr-x 7 root root 262144 Oct 2 13:14 /mnt/pve/plexlibrary02

Same...
 
Yes, I wrote only to confirm your command is OK.
I don't know...

What if you mkdir /sometestdirectory and try to mount there?
If the result is different (OK), then maybe there is some difference between /mnt/pve/plexlibrary02 and /sometestdirectory.
If the result is the same (bad), then the reason may be in the host or in the USB drive contents.
What about trying other (possibly empty) exfat USB drive?...
Other Linux PC?... And searching for differences.
 
Yes, I wrote only to confirm your command is OK.
I don't know...

What if you mkdir /sometestdirectory and try to mount there?
If the result is different (OK), then maybe there is some difference between /mnt/pve/plexlibrary02 and /sometestdirectory.
If the result is the same (bad), then the reason may be in the host or in the USB drive contents.
What about trying other (possibly empty) exfat USB drive?...
Other Linux PC?... And searching for differences.
Thank you very much for all the suggestions.
Already tried to mount it at /mnt directly. There is another USB disk mounted on the system with 777 permissions.

Pedro.
 
Because you already have things below /mnt, don't mount new things at /mnt directly.
You can create some new directory, for instance /mnt2 and make tests there.