X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=Wln m5DEGpTJL/qTvdV1q/1/X5PUMo5N1ze3zj6/UYrXZ3rGB7qm1SA4Gl1eAUtwG3X8 uLbrrA5/oV3N2WdkYRNAG/OaUUmtLXKvB8latAoA8WesqHig8TnQGI3rULgX6DAv 0jFQfQ5+4A121d7T0t71lGUBY5CyibO9QAlUQXzQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=bb4/NHzPZ QeOaIB7Ekk02UEPi0I=; b=X7APN6kd3DOML2QVs4y/t/WpND6WhvyKnnWatqOy/ ATdnFbOv/EJ+hWpLJJWLjI3+RGxrQF2I7BFFTza08iu9IgPM+yWBO8GY1BGVPpMS 51yHQA+WD5EZBPQ9WFbD+oCEOk58QOPxIkMHTtqto7IWskdbX2LyCiT2JtUV3qeO 8w= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_20,GIT_PATCH_2 autolearn=ham version=3.3.1 spammy=Administrators, Domain, SYSTEM, linda X-HELO: Ishtar.sc.tlinx.org Message-ID: <5CF6C7A8.6090902@tlinx.org> Date: Tue, 04 Jun 2019 12:34:00 -0700 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: Trying to create default ACL entries to match file ACL entries Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes I am trying to create an entry for '/' (or '.' w/me sitting in '/') where the default entries are the same as the file entries. I noticed the example give in the manpage for copying entries: The special filename "-" indicates reading from stdin. Note that you can use this with getfacl and setfacl to copy ACLs from one file to another: $ getfacl source_file | setfacl -f - target_file so tried doing: getfacl . | setfacl -d - . But keep running into: setfacl: missing entries. Also tried writing to a file and modifying that. Last try had: # file: . # owner: Bliss\law # group: Bliss\lawgroup default:user:Bliss\law:rwx default:group:SYSTEM:rwx default:group:Bliss\lawgroup:rwx default:group:Bliss\Domain Admins:rwx default:group:Bliss\Domain Users:r-x default:group:Administrators:rwx default:other::r-x mask::rwx user::rwx group::rwx other::r-x ---- But still with: /> setfacl -f /tmp/norm . got: setfacl: missing entries. Using it with '-d' just gave illegal acl entries, so that didn't work either. What am I missing? Thanks! -linda -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple