public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* A permissions puzzle
@ 2019-12-21  3:08 Eliot Moss
  2019-12-21 14:35 ` Eliot Moss
  2019-12-21 15:42 ` Andrey Repin
  0 siblings, 2 replies; 11+ messages in thread
From: Eliot Moss @ 2019-12-21  3:08 UTC (permalink / raw)
  To: cygwin

Dear cygwiners --

For a long time I _had_ things working, but somehow in switching over to using
cygwin64 as primary, I messed up permissions on the directories where a backup
program (EaseUS) puts things.  I made the permissions similar to elsewhere in
by cygwin hierarchy, but I still cannot chown, chgrp, or chmod files created
by the backup tool - but doing so used to work!

Here is icacls on one of the files:

icacls System_20191220_Inc_v1.pbd
System_20191220_Inc_v1.pbd NULL SID:(I)(DENY)(Rc,S,WD,REA,WEA,X,DC)
                            BUILTIN\Administrators:(I)(F)
                            EM-SURFACE-2018\Cygwin:(I)(RX,W,DC)
                            NT AUTHORITY\SYSTEM:(I)(RX)
                            Everyone:(I)(RX)

Note that I am an administrator and in in Cygwin (at least "groups" shows
Cygwin).

Here is icacls on the containing directory, which has been "cygwin-ized":

icacls .
. NULL SID:(DENY)(Rc,S,WD,REA,WEA,X,DC)
   EM-SURFACE-2018\moss:(F)
   EM-SURFACE-2018\Cygwin:(RX,W,DC)
   BUILTIN\Administrators:(RX,W,DC)
   Everyone:(RX)
   NULL SID:(OI)(CI)(IO)(DENY)(Rc,S,WD,REA,WEA,X,DC)
   CREATOR OWNER:(OI)(CI)(IO)(F)
   EM-SURFACE-2018\Cygwin:(OI)(CI)(IO)(RX,W,DC)
   NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(RX)
   BUILTIN\Administrators:(OI)(CI)(IO)(RX,W,DC)
   Everyone:(OI)(CI)(IO)(RX)

And getfacl on the same:

# file: .
# owner: moss
# group: Cygwin
# flags: -s-
user::rwx
group::rwx
group:Administrators:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:SYSTEM:r-x
default:group:Administrators:rwx
default:mask::rwx
default:other::r-x

So ... why can't I chown, etc., the pbd file, and what needs to change for me
to be able to do so?  (I _do_ mostly understand this stuff, but maybe I'm
just too tired and just can;t see the obvious!)

Regards - Eliot

--
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] 11+ messages in thread

end of thread, other threads:[~2019-12-24  9:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-21  3:08 A permissions puzzle Eliot Moss
2019-12-21 14:35 ` Eliot Moss
2019-12-21 14:50   ` Eliot Moss
2019-12-21 15:42 ` Andrey Repin
     [not found]   ` <5a63e3e3-6157-e3f4-8bce-e2c671647604@cs.umass.edu>
2019-12-22 13:08     ` Andrey Repin
2019-12-22 17:50       ` Eliot Moss
2019-12-22 22:24         ` Brian Inglis
2019-12-23  6:16           ` Eliot Moss
2019-12-23 14:35             ` Brian Inglis
2019-12-23 16:58               ` Eliot Moss
2019-12-24 23:11         ` Andrey Repin

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