| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| In-Reply-To: | <20090810164057.GV3204@calimero.vinschen.de> |
| References: | <e2480c70908100619m906f5dfj794823f22c7604bc AT mail DOT gmail DOT com> <20090810132515 DOT GP3204 AT calimero DOT vinschen DOT de> <e2480c70908100911j520101cftbaf4dc3eb08b109e AT mail DOT gmail DOT com> <20090810164057 DOT GV3204 AT calimero DOT vinschen DOT de> |
| Date: | Mon, 10 Aug 2009 22:55:42 +0400 |
| Message-ID: | <e2480c70908101155q7f5e7b0fxcceb434245ab95d3@mail.gmail.com> |
| Subject: | Re: Perl bug (was Re: [1.7] cygwin allows writing to readonly files) |
| From: | Alexey Borzenkov <snaury AT gmail DOT com> |
| To: | Reini Urban <rurban AT x-ray DOT at>, cygwin AT cygwin DOT com |
| 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 |
On Mon, Aug 10, 2009 at 8:40 PM, Corinna Vinschen<corinna-cygwin AT cygwin DOT com> wrote: > That's a bug in perl. =C2=A0There are other OSes out there which have > root-like permissions for non-0 uids. =C2=A0Perl should use the access() > function to check for read/write/execute permissions, which always > returns the correct result independent of the uid of the current user. Ah, so it is actually possible on other OSes, I didn't know that. Then maybe you're right. Thanks for clarifying. -- 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |