X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; q=dns; s=default; b=gXi 3NVLtIHfVZEB3ZcnnkLuaccULeuX7045GQxnKsM/V+89xDV/sk6SwdkH3OmC2e6L b9ruUkPInCn5/Th/ETqnG+w0BlcT6ANXZnqm5AAjtlzrQ0CPxgZNF3GF/JOAtRqp kfGKNyiX+JT8LmxDno93iqYJwZNCM6euwez4se3Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding; s=default; bh=OJKmUZ/c8 2caPi0qKqkYYUvdRPU=; b=Smh9duvHkgfmBrZgwozCYLAgwwKR2XFXUwS79oC1r iZDouGSpNT4SnusCzHos1idVP5rkBrD0LIC1owjewOBS381a3ZkRYIhrvDQ0w3uC 0+WzeAAnw57xh6chSEVUVsrY/8lVWS4ZmEMMnlAfnNYIACslBMOvcncu/e04CZCn dc= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 From: Sky Diver Date: Wed, 15 Jul 2015 01:15:15 +0300 Message-ID: Subject: ACL Hell To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t6EMFnLQ027052 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