This is the mail archive of the
cygwin
mailing list for the Cygwin project.
After cygwin update, all files are created with +x flag
- From: Michal Wysocki <mos dot wysocki at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 3 Oct 2015 12:07:11 +0200
- Subject: After cygwin update, all files are created with +x flag
- Authentication-results: sourceware.org; auth=none
- Reply-to: mos dot wysocki at gmail dot com
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