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=rFZ Dapsiwb1l3Olg1Y8aAB2RyJ1U9YqkxgsMEF7XXsuk1LzfihHBkhz/dOw3Zy2UQPv t0HlUFJue2+ub0MKWSI5U2SZQdnawhF/Q+ohnlgeBobcGSGqLFFFRiXZzAKOep+0 oDAJosglUZNcz56FEfRMXKh0eRlWc8CWswifcDfI= 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=UwnhZ8/u6 Tt1FUkkH6slfVT7yFM=; b=XrvgP7/ezcM7HczhkztkHhGoD0aVhjlD+NIhIxoTs lV4QBpxqjhbtXBmwrMwR8jtSBEcm4vMeqzgejf6f0JyKoyK8zUH8ZxQo+ay4hXOT Dc1x3oNFK4Xu4ZmPOApHoGqsfpysVHKIcnnDaolkeeHZGKajpv806kTeWEe/bArS TE= 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=-2.5 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.1 spammy=H*F:U*cygwin, linda, Linda, H*r:192.168.3 X-HELO: Ishtar.sc.tlinx.org Message-ID: <5D1FA19D.2020707@tlinx.org> Date: Fri, 05 Jul 2019 12:14:37 -0700 From: L A Walsh User-Agent: Thunderbird MIME-Version: 1.0 To: "cygwin AT cygwin DOT com" Subject: rename a user using setfacl -- possible? how? Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Have an acl on a file 'testfile' that appears to include a userid with a GUID corresponding to some older value for the local system. I'm gave the old guid a name in /etc/group different from its name, say calling it 'oldname' (where current name, is say, 'curname'). I guess I don't know how to modify an entry to either 1-rename it, or 2 add the new entry. I tried setfacl -x group:oldname:rwx -m group:curname:rwx but got: setfacl: illegal acl entries will setfacl not work for this task? How do you add a new user to the access list -- obviously -x removes a user, but not sure if 'add' is covered by -m or whether or not you 'add' by specifying the new entry. BTW -- is there an easy way to see the numeric values it is using for a given name? Like: group:Local account and member of Administrators group:rwx I remember seeing that, but it isn't in my /etc/group file. Tried getfacl with -n but that doesn't seem to be an option to display a numeric GUID. 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