This is the mail archive of the
mailing list for the Cygwin project.
Re: [1.7] cygwin allows writing to readonly files
Alexey Borzenkov wrote:
> On Mon, Aug 10, 2009 at 8:11 PM, Alexey Borzenkov<email@example.com> wrote:
>> Anyway, it means there is a bug in perl, because on Linux:
> On second though, it is actually bug in Cygwin. Programs and libraries expect
> superuser behavior only when user id is zero, which is clearly not the case
> in Cygwin 1.7.
> This concept, with great historical significance to UNIX system users, has
> been replaced with the notion of appropriate privileges.
This would seem to imply that it is permitted for there to be users other than
uid 0 with "appropriate" privileges. Programs should not be trying to
second-guess the OS about the privs of a uid, they should ask the access()
function and find out.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple