From owner-freebsd-fs@FreeBSD.ORG Wed Dec 3 19:55:24 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1974B9A9 for ; Wed, 3 Dec 2014 19:55:24 +0000 (UTC) Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E35D4310 for ; Wed, 3 Dec 2014 19:55:23 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id eu11so16154202pac.8 for ; Wed, 03 Dec 2014 11:55:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=NJWKBj7/7t0ejiY5XExhB48LOt+6bMDCXHiXxtgwM7s=; b=b13P8SBoVY9g5Jw8iUdBRea/DtcTdvAfvdc/csuvOKL8jI6Bfq2YLNxXnh2u0oc9c+ MHIWWbXsDBQFC8K2XgrKsDD8rNnmRHtgfdLgIYTTryWeKWUpaVAUAN1P4zbMFFc4JLly R3GVmH2Ee3sFB3Kg+qogVjFUOsiYn+grU3noIVSkg2Mjb1Q/y51dXlmTho8K3ibK9NuX MXUs2kZde7x5k+5+DlNa1HmEgqOSOutkhJWLTAZyFTYR1PBfnAgW4jNp2eb+sMGEVYsG ne7CvyrcgdspvgE41j5BdSsXatd1Volq7ESp2DAX2Af39i6XjxgGKLgXL0J22n5Pklvw B2Eg== X-Gm-Message-State: ALoCoQmv44XuCNR0Xxy7Z27tWFQpwmOy8kJtM1+QX2QbdzaKVRIn668uHQSBCB3E4xOZkKfBIoHD X-Received: by 10.66.161.197 with SMTP id xu5mr11562302pab.3.1417636517385; Wed, 03 Dec 2014 11:55:17 -0800 (PST) Received: from Michaels-MacBook-Pro.local (c-98-246-202-204.hsd1.or.comcast.net. [98.246.202.204]) by mx.google.com with ESMTPSA id kj3sm7714041pdb.85.2014.12.03.11.55.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Dec 2014 11:55:16 -0800 (PST) Message-ID: <547F6AA2.2050404@callfortesting.org> Date: Wed, 03 Dec 2014 11:55:14 -0800 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Strange ACL issue on ZFS Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2014 19:55:24 -0000 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