delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | "Michael Kairys" <kairys AT comcast DOT net> |
Subject: | Re: Intermittent perl crash (Attn: coreutils and bash maintainer) |
Date: | Tue, 18 Dec 2007 11:53:01 -0500 |
Lines: | 45 |
Message-ID: | <fk8tsj$k62$1@ger.gmane.org> |
References: | <fk695v$1t2$1 AT ger DOT gmane DOT org> <6910a60712171332t3e8db66fn4cf1a64fe611011 AT mail DOT gmail DOT com> <fk7b48$u8u$1 AT ger DOT gmane DOT org> <47674E3E DOT 2080201 AT cygwin DOT com> <fk8lpb$l1t$1 AT ger DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0712181009420 DOT 28181 AT access1 DOT cims DOT nyu DOT edu> |
Mime-Version: | 1.0 |
In-Reply-To: | <Pine.GSO.4.63.0712181009420.28181@access1.cims.nyu.edu> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
"Igor Peshansky" <pechtcha AT cs DOT nyu DOT edu> wrote in message news:Pine DOT GSO DOT 4 DOT 63 DOT 0712181009420 DOT 28181 AT access1 DOT cims DOT nyu DOT edu... > I'm guessing one can reconstruct your permissions as follows: > > $ cd /tmp > $ mkdir nw > $ setfacl -m g:Users:rwx nw > $ chmod a-rwx nw > $ ls -ld nw > d---------+ 2 igor root 0 Dec 18 10:08 nw/ > $ touch nw/foo > $ ls -l nw/foo > -rw------- 1 igor root 0 Dec 18 10:08 nw/foo > $ if [ -w nw ]; then echo "Yes"; else echo "No"; fi > No > $ Not sure about the setfacl but I note that if I repeat your sequence I get "dr-xr-xr-x", which is what all my dirs look like: 1 > cd /tmp 2 > mkdir nw 3 > setfacl -m g:Users:rwx nw 4 > chmod a-rwx nw 5 > ls -ld nw dr-xr-xr-x 2 michael None 0 Dec 18 11:46 nw 6 > touch nw/foo 7 > ls -l nw/foo -rw-r--r-- 1 michael None 0 Dec 18 11:47 nw/foo 8 > if [ -w nw ]; then echo "Yes"; else echo "No"; fi No > One solution is, of course, "chmod u+rwx /tmp". Well, this has no effect for me: 9 > ls -ld /tmp dr-xr-xr-x 9 michael None 245760 Dec 18 11:46 /tmp 10 > chmod u+rwx /tmp 11 > ls -ld /tmp dr-xr-xr-x 9 michael None 245760 Dec 18 11:46 /tmp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |