Permissions, extended ACLs and Plex Jail (getfacl)

Status
Not open for further replies.

panz

Guru
Joined
May 24, 2013
Messages
556
I've just setup Plex media server plugin. It scans all my CIFS shared ZFS datasets, except one.

This is the output of getfacl of the folder that Plex doesn't scan (tank1 is the mirrored pool, media is the linked dir, documentaries is the content dir I want to scan):

[root@freenas] /mnt/tank1/jails/plex_1/media# getfacl documentaries
# file: documentaries
# owner: panz
# group: panz
owner@:rwxpD-aARWcCo-:------:allow
group@:rwxpD-a-R-c---:------:allow
everyone@:r-x---a-R-c---:------:allow
group@:rwxpDdaARWcCo-:fd----:allow
owner@:rwxpDdaARWcCo-:fd----:allow


This is a directory that Plex actually scans:

[root@freenas] /mnt/tank1/jails/plex_1/media# getfacl movies
# file: movies
# owner: panz
# group: panz
owner@:rwxp--aARWcCos:------:allow
group@:rwxp--a-R-c--s:------:allow
everyone@:rwxp--a-R-c--s:------:allow
[root@freenas] /mnt/tank1/jails/plex_1/media#


How did this occur? How do I copy the working permissions? (I ask that because the setfacl man page lists different options / switches for POSIX.1e ACLs and for NFSv4 ACLs; don't know which type FreeNAS-Samba is using).
 

krisjrodz

Dabbler
Joined
Jan 12, 2014
Messages
10
Hello Panz,

I don't know if this is still an issue, but if it is you can consider removing the extended ACL's using setfacl -b. I had the exact problem as you and that's what I did. I hope it also works for you.

Cheers
 

panz

Guru
Joined
May 24, 2013
Messages
556
Thank you krisjrodz, setfacl -b does the intended trick, but the next move is that I need to set all the desired (ext)ACLs recursively, 'cause the plugin seems to mess them when I set the permissions from the Win7 machine.
 
Status
Not open for further replies.
Top