This is the mail archive of the cygwin@cygwin.com 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: Can't create new file/directory


Looks like the cygwin permissions are user: everything, anybody else:
nothing.  AFAIK, Cygwin doesn't use NT user permissions.  You'll need to do
'chmod a+rwx' on the directory as the user who created it (Everybody).
Unfortunately, you probably don't have an 'Everybody' user.  You should
probably try deleting the directory from explorer and recreating it in
cygwin.

Hope this helps.

James Potts
(james@verge-rpg.com)

----- Original Message -----
From: "Derek M. Tournear" <tournear@stanford.edu>
To: <cygwin@cygwin.com>
Sent: Thursday, January 31, 2002 12:41 PM
Subject: RE: Can't create new file/directory


> Hrm...What's the output of 'ls -ld <dir>'?
>
> [EQUULEUS] f 43% ls -ld temp
> drwx------    2 Everyone Everyone        0 Jan 31 09:35 temp/
> [EQUULEUS] f 44% touch temp/new
> touch: creating `temp/new': Permission denied
> [EQUULEUS] f 45% mkdir temp/new
> mkdir: cannot create directory `temp/new': Permission denied
> [EQUULEUS] f 46%
>
> And in NT the permissions for this particular directory are set to
> everyone full control.
>
> Thanks for the help!
>
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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