This is the mail archive of the
mailing list for the Cygwin project.
Re: mkdir inside unwritable dir
On Jul 3 06:14, Eric Blake wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> 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
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html