Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Dec 2014 11:55:14 -0800
From:      Michael Dexter <editor@callfortesting.org>
To:        freebsd-fs@freebsd.org
Subject:   Strange ACL issue on ZFS
Message-ID:  <547F6AA2.2050404@callfortesting.org>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?547F6AA2.2050404>