From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32692 invoked by alias); 14 Jul 2015 22:15:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32683 invoked by uid 89); 14 Jul 2015 22:15:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f41.google.com Received: from mail-la0-f41.google.com (HELO mail-la0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 14 Jul 2015 22:15:38 +0000 Received: by lagx9 with SMTP id x9so14126727lag.1 for ; Tue, 14 Jul 2015 15:15:34 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr830206laj.88.1436912134541; Tue, 14 Jul 2015 15:15:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.61.105 with HTTP; Tue, 14 Jul 2015 15:15:15 -0700 (PDT) From: Sky Diver Date: Tue, 14 Jul 2015 22:15:00 -0000 Message-ID: Subject: ACL Hell To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-07/txt/msg00235.txt.bz2 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 =E2=80=98/tmp=E2=80=99: Operation not pe= rmitted 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 =E2=80=98y=E2=80=99: Operation not permi= tted 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=3D0,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