public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ACL Hell
@ 2015-07-14 22:15 Sky Diver
  2015-07-14 23:21 ` Steven Penny
  2015-07-15  8:35 ` Andrey Repin
  0 siblings, 2 replies; 9+ messages in thread
From: Sky Diver @ 2015-07-14 22:15 UTC (permalink / raw)
  To: cygwin

Hi, in the past several months or so, cygwin started giving me ACL
pain in small surges which are gradually growing..

Here's a basic scenario that is slowly, but surely, driving me NUTZ:

$ ln -s /cygdrive/c/tmp /tmp
ln: failed to create symbolic link ‘/tmp’: Operation not permitted

Some other examples (it doesn't matter which is the current working dir):

$ touch x

$ ls -l x
-rw-rwxr--+ 1 sky None 0 Jul 15 00:46 x*

$ getfacl x
# file: x
# owner: sky
# group: None
user::rw-
group::r--
group:root:rwx
group:Authenticated Users:rwx
group:SYSTEM:rwx
group:Users:r-x
mask:rwx
other:r--

$ ln -s x y
ln: failed to create symbolic link ‘y’: Operation not permitted


This didn't use to be like that.


Cygwin's directory itself seems to be ok:

$ ls -ld cygwin
drwxrwx---+ 1 sky None 0 Jul 15 00:19 cygwin/

$ getfacl cygwin/
# file: cygwin/
# owner: sky
# group: None
user::rwx
group::---
group:root:rwx
group:Authenticated Users:rwx
group:SYSTEM:rwx
group:Users:r-x
mask:rwx
other:---
default:user::rwx
default:user:sky:rwx
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:---

I found a thread that shows how to remove ACL... Avec Plaisir!
I replaced the line in /etc/fstab with this one:

none /cygdrive cygdrive binary,noacl,posix=0,user 0 0

Closed all cygwin terminals, reopened and issue:

$ getfacl cygwin/
# file: cygwin/
# owner: sky
# group: None
user::rwx
group::r-x
other:r-x

Much better for all I care.
However, this didn't change anything. Touching x and linking y yielded
the exact same results as above.

Here's my cygwin details:

$ uname -a
CYGWIN_NT-6.3-WOW sky-pc 2.0.2(0.287/5/3) 2015-05-08 17:03 i686 Cygwin

Looking at cygwin via Properties -> Security tab, the user (sky) is
the owner of the directory and has Full Control (recursively).

My main goal is not to get stuck on trivialities like soft linking of
file creation.
But what I would really like is to get rid of ACL altogether (towards
that end I'll mention that I switched UAC off long time ago).
I don't care about security, I just want to work and this is holding
me back both at home and at my work place.

Please.. Help...

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

end of thread, other threads:[~2015-07-23 15:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-14 22:15 ACL Hell Sky Diver
2015-07-14 23:21 ` Steven Penny
2015-07-15  8:35 ` Andrey Repin
2015-07-15 14:52   ` Larry Hall (Cygwin)
2015-07-15 19:18   ` Sky Diver
2015-07-15 20:25     ` Sky Diver
2015-07-17 11:29       ` Kurt Franke
2015-07-23 15:29         ` Sky Diver
2015-07-16  3:46     ` Duane Ellis

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