public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* After cygwin update, all files are created with +x flag
@ 2015-10-03 10:10 Michal Wysocki
  2015-10-03 12:46 ` Ken Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Michal Wysocki @ 2015-10-03 10:10 UTC (permalink / raw)
  To: cygwin

Hi

While installing some packages I've accidentally updated my whole cygwin
from 1.7.29 to 2.1.1.

From what I've found, around 1.7.34/35 there was some big change in ACL
handling.

Now, all my files and directories created in old cygwin (kernel build tree,
cygwin /etc folder etc.) have totally messed up permissions. Essentially
all files have 0774.

Also all new files created by touch, scripts, compilers etc., end up with
executable flag set:

$ touch test
$ getfacl -a test
# file: test
# owner: Misiek
# group: None
user::rw-
group::r--
group:Uzytkownicy uwierzytelnieni:rwx // Authenticated users
group:SYSTEM:rwx
group:Administratorzy:rwx // Admins
group:Uzytkownicy:r-x // Users
mask:rwx
other:r--
$ ls -l test
-rwxrwxr--+ 1 Misiek None 0 10-03 11:33 test


Of course everything still works, but is it new expected behavior? I'm not
sure if I really understand windows ACL, but this change in how cygwin
handles them is really disruptive...

Is there a tool / way to convert permissions on all my work folders/files,
so they are interpreted by new cygwin the same way as old one did?

Thanks
Michal


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

end of thread, other threads:[~2015-10-06 20:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-03 10:10 After cygwin update, all files are created with +x flag Michal Wysocki
2015-10-03 12:46 ` Ken Brown
2015-10-03 16:55   ` cyg Simple
2015-10-06 20:50     ` Ken Brown
2015-10-03 18:29   ` Michal Wysocki
2015-10-03 21:50     ` 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).