This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygwin potentially corrupting permissions?
- From: Greg Freemyer <greg dot freemyer at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Sep 2015 22:38:40 -0400
- Subject: Re: cygwin potentially corrupting permissions?
- Authentication-results: sourceware.org; auth=none
- References: <CAGpXXZKUQtAbrQ80VDHZhy0aZtzG+5fDB7bcYz-kwQ3Kgx6ueQ at mail dot gmail dot com> <560366EE dot 5020207 at tlinx dot org> <CAGpXXZJeWs33BJi7qROduZEhTx1pXXXseTbfXu+QP8+cf_r5hQ at mail dot gmail dot com> <56043BA4 dot 7040405 at tlinx dot org> <CAGpXXZLrourgJ39=n4M8kEKeF7tT3fCTafvLaSfZuHh62ffmUA at mail dot gmail dot com> <56044D87 dot 1070409 at cornell dot edu>
On Thu, Sep 24, 2015 at 3:22 PM, Ken Brown <kbrown@cornell.edu> wrote:
<snip>
>
>
> The problem could be caused by the default ACL on whatever directory you're
> working in. You might consider running 'setfacl -b' and/or 'setfacl -k' on
> that directory. (Run 'setfacl --help' for more information.)
I just posted this, but it looks like directories created in cygwin
have reasonable ACLs, but directories created via "File Explorer" are
bizarre.
Where bizzare is defined as:
$ getfacl /cygdrive/c/Test-dir-created-in-file-explorer/
# file: /cygdrive/c/Test-dir-created-in-file-explorer/
# owner: GAF
# group: None
user::---
group::---
group:root:rwx
group:Authenticated Users:rwx
group:SYSTEM:rwx
group:Users:r-x
mask:rwx
other:---
default:user::---
default:group::---
default:group:root:rwx
default:group:Authenticated Users:rwx
default:group:SYSTEM:rwx
default:group:Users:r-x
default:mask:rwx
default:other:---
Here's getfacl for C:\
$ getfacl /cygdrive/c
# file: /cygdrive/c
# owner: TrustedInstaller
# group: TrustedInstaller
user::---
group::---
group:root:rwx
group:Authenticated Users:---
group:SYSTEM:rwx
group:Users:r-x
mask:rwx
other:---
default:user::---
default:group::---
default:group:root:rwx
default:group:Authenticated Users:rwx
default:group:SYSTEM:rwx
default:group:Users:r-x
default:mask:rwx
default:other:---
Is that what others have?
fyi: I just realized I installed "System Mechanic" around the time I
started seeing problems. It is installed on both of the machines
having issues. I wonder if it adulterated my ACLs in an attempt to
make my machine safer?
Thanks
Greg
--
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