From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33590 invoked by alias); 4 Jun 2019 19:34:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 33583 invoked by uid 89); 4 Jun 2019 19:34:04 -0000 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 Received: from ishtar.tlinx.org (HELO Ishtar.sc.tlinx.org) (173.164.175.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 04 Jun 2019 19:34:03 +0000 Received: from [192.168.3.12] (Athenae [192.168.3.12]) by Ishtar.sc.tlinx.org (8.14.7/8.14.4/SuSE Linux 0.8) with ESMTP id x54JXxJj020069 for ; Tue, 4 Jun 2019 12:34:01 -0700 Message-ID: <5CF6C7A8.6090902@tlinx.org> Date: Tue, 04 Jun 2019 19:34:00 -0000 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: "cygwin@cygwin.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 X-SW-Source: 2019-06/txt/msg00033.txt.bz2 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