This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Perl bug (was Re: [1.7] cygwin allows writing to readonly files)
On Mon, Aug 10, 2009 at 8:40 PM, Corinna
Vinschen<corinna-cygwin@cygwin.com> wrote:
> That's a bug in perl. ÂThere are other OSes out there which have
> root-like permissions for non-0 uids. ÂPerl 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