Can anyone tell me what i'm doing wrong. Users other than root cannot write to a shared folder.
What i did:
However, when i'm running the following command i get permission denied.
What i did:
- Mounted a ext4 drive in Proxmox VE and created a dir
- Created an Fstab MergerFS to merge the dir to a shared folder
- Used the mp0 command to add the mergerFS directory to the priviliged LXC's
- The root in LXC's has full access to /storage. I'm able to access files, write files from different LXC's in the same folder.
- The user plex has been given full permissions for the folder 'storage' within the LXC
Code:
root@plex:/storage# ls -l
total 44
drwxrwxr-x 2 plex plex 4096 Jul 31 14:03 dump
drwxrwxr-x 2 plex plex 4096 Jul 31 14:03 images
drwxrwxr-x 2 plex plex 16384 Jul 31 14:03 lost+found
drwxrwxr-x 2 plex plex 4096 Jul 31 14:03 private
drwxrwxr-x 2 plex plex 4096 Jul 31 14:03 snippets
drwxrwxr-x 4 plex plex 4096 Jul 31 14:03 template
-rwxrwxr-x 1 plex plex 8 Jul 31 14:16 test
drwxrwxr-x 5 plex plex 4096 Jul 31 15:40 usb
-rwxrwxr-x 1 plex plex 0 Jul 31 14:16 v
However, when i'm running the following command i get permission denied.
Code:
root@plex:/storage# sudo -u plex ls /storage
ls: cannot access '/storage': Permission denied
root@plex:/storage#