Strange ACL issue on ZFS
Michael Dexter
editor at callfortesting.org
Wed Dec 3 19:55:24 UTC 2014
Hello all,
I have a v5000 pool under FreeNAS onto which I have copied data from
both HFS and NTFS. As such, the data does not appear to have ACLs and is
throwing errors:
# ls -l 4.4BSD*
ls: 4.4BSD-Lite2.tar.gz: No such file or directory
-rw-r--r-- 1 501 staff 46375814 Sep 18 2004 4.4BSD-Lite2.tar.gz
"Not there, yet there."
chmod o+r 4.4BSD-Lite2.tar.gz
chmod: 4.4BSD-Lite2.tar.gz: No such file or directory
# getfacl 4.4BSD-Lite2.tar.gz
# file: 4.4BSD-Lite2.tar.gz
# owner: dexter
# group: staff
getfacl: 4.4BSD-Lite2.tar.gz: No such file or directory
Based on what I've read to set an ACL:
# setfacl -m owner@:rwxpdDaARWcCos:fd:allow 4.4BSD-Lite2.tar.gz
setfacl: 4.4BSD-Lite2.tar.gz: acl_get_file() failed: No such file or
directory
Perhaps I cannot set an ACL because I do not have an ACL?
I have found that I can copy the data to correct this but I prefer not:
getfacl 4.4BSD-Lite2.tar.gz.copy
# file: 4.4BSD-Lite2.tar.gz.copy
# owner: root
# group: staff
owner@:rw-p--aARWcCos:------:allow
group@:r-----a-R-c--s:------:allow
everyone@:r-----a-R-c--s:------:allow
(No complaint about it being missing)
Any suggestions on how I can correct this for a large collection of data?
Thank you,
Michael
More information about the freebsd-fs
mailing list