This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mkdir inside unwritable dir

On Jul  3 06:14, Eric Blake wrote:
> Hash: SHA1
> According to Corinna Vinschen on 7/3/2006 2:28 AM:
> >> $ mkdir unreadable
> >> $ chmod a-w unreadable
> >> $ mkdir unreadable/oops
> >>
> > Any chance you're running with administrator privileges?
> How'd you guess?  Yes, this was on an XP machine where I have admin
> privileges.  I found it because 'make distcheck' on the m4 package was
> working for me but failing for others, thanks to automake setting the
> srcdir tree to read-only when testing a package tarball for VPATH
> completeness.

It works as expected if you're working under a non-privileged account.
However, all accounts having the SE_RESTORE_NAME privilege, can create
a directory within a non-writable directory, same as a root user on


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]