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 > 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 Linux. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/