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).
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).