public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* rename a user using setfacl -- possible?  how?
@ 2019-07-05 19:14 L A Walsh
  2019-07-06  4:45 ` Brian Inglis
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: L A Walsh @ 2019-07-05 19:14 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-07-17  9:05 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-05 19:14 rename a user using setfacl -- possible? how? L A Walsh
2019-07-06  4:45 ` Brian Inglis
2019-07-06  9:20 ` Andrey Repin
2019-07-06  9:39   ` L A Walsh
2019-07-06 10:41     ` Sam Edge
2019-07-06 16:05     ` Andrey Repin
2019-07-06 17:01       ` Brian Inglis
2019-07-17  1:52         ` L A Walsh
2019-07-17  9:05           ` Andrey Repin
2019-07-06 19:41 ` Achim Gratz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).