public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Trying to create default ACL entries to match file ACL entries
@ 2019-06-04 19:34 L A Walsh
  2019-06-04 19:44 ` Eliot Moss
  2019-06-04 21:34 ` Chris Wagner
  0 siblings, 2 replies; 8+ messages in thread
From: L A Walsh @ 2019-06-04 19:34 UTC (permalink / raw)
  To: cygwin

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

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

end of thread, other threads:[~2019-06-06 19:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-04 19:34 Trying to create default ACL entries to match file ACL entries L A Walsh
2019-06-04 19:44 ` Eliot Moss
2019-06-04 19:59   ` L A Walsh
2019-06-04 21:26     ` Brian Inglis
2019-06-04 21:58       ` L A Walsh
2019-06-04 21:34 ` Chris Wagner
2019-06-04 22:11   ` Brian Inglis
2019-06-06 19:44   ` how do i create a trusted-installer? (was Re: Trying to create default ACL entries to match file ACL entries) L A Walsh

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).