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


OK here is some more info:

I am running NT 4.0 SP 6.  Installed cygwin anfter uninstalling old
installation and then reinstalled ALL packages with the most recent
available using the setup.exe from the NASA ftp.  Currently running
1.3.9-1.

When I start cygwin and go into any directory with any permissions set,
and try to mkdir new or touch new (or any name for that matter) I get 
[EQUULEUS] temp 24% touch new
touch: creating `new': Permission denied
[EQUULEUS] temp 25%
OR
[EQUULEUS] temp 26% mkdir new
mkdir: cannot create directory `new': Permission denied
[EQUULEUS] temp 27%

I have rebooted after installation, I haven't done anything else, but
re-installed the X11r6.4 package.  Which seems to be working fine.

Thanks for any help!

Attached below is the output of cygcheck -s


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Jan 31 10:27:48 2002

Windows NT Ver 4.0 Build 1381 Service Pack 6

Path:	d:\NetworkSimplicity\ssh
	C:\PROGRA~1\Plus!\MICROS~1\
	
	D:\texmf\miktex\bin
	D:\Perl\bin\
	C:\WINNT\system32
	C:\WINNT
	D:\ROOT
	D:\ROOT\bin
	D:\RSX\BIN
	d:\TBEvent\bin\Debug
	d:\TBEvent\bin\Release
	D:\SSH
	C:\WINNT\system32
	C:\WINNT
	C:\WINNT\System32\WBEM
	C:\PROGRA~1\IBM\AFS\Client\Program
	C:\PROGRA~1\IBM\AFS\Common
	D:\texmf\miktex\bin
	C:\VXIpnp\WINNT\BIN
	D:\USA_PROGRAMS\USA\cfitsio\web\cfitsio
	/cygdrive/e/lheasoft/CYGWIN32_2001-05-20\FV\BIN
	C:\NTWORK~1\COMMON\COMMON
	C:\NTWORK~1\COMMON\COMMON\Perl
	C:\PROGRA~1\Mts
	C:\PROGRA~1\RKSUPP~1
	D:\Adobe\ACROBA~1.0\Distillr
	D:\Adobe\ACROBA~1.0\Acrobat
	C:\PROGRA~1\Stanford\PC-LEL~1\
	D:\cygwin\bin
	d:\tempo\src
	D:\emacs-20.7\bin
	d:\uwin\usr\bin
	c:\winnt\scripts
	D:\Tcl\bin
	D:\cygwin\usr\X11R6.4\bin
	D:\cygwin\usr\local\bin
	/cygdrive/e/lheasoft/CYGWIN32_2001-05-20\bin
	%PERLLIB%
	e:\lheasoft\CYGWIN~1\bin
	e:\lheasoft\fv3.0\bin

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntsec tty'
C_INCLUDE_PATH = `D:\DJGPP\INCLUDE'
HOME = `D:\SSH'
LIBRARY_PATH = `D:\G77\LIB'
USER = `tournear'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
b:  net NTFS    7859Mb  71% CP CS UN PA FC     PROGRAMS
c:  hd  NTFS    3420Mb  51% CP CS UN PA FC     BOOT
d:  hd  NTFS    7004Mb  54% CP CS UN PA FC     PROGRAMS
e:  hd  NTFS    6000Mb  68% CP CS UN PA FC     DATA
f:  hd  NTFS    6000Mb   6% CP CS UN PA FC     Data1
g:  hd  NTFS    6000Mb  41% CP CS UN PA FC     Data2
h:  hd  NTFS    5357Mb  12% CP CS UN PA FC     Data3
j:  net AFS    2097151Mb  51% CP CS              AFS
k:  hd  NTFS     933Mb  55% CP CS UN PA FC     SWAP
l:  cd           N/A    N/A                    
n:  net NTFS    6651Mb  94% CP CS UN PA FC     DATA
o:  net NTFS   409600Mb  87% CP CS    PA        USAData1
p:  net NTFS   153600Mb 100% CP CS    PA        USAWork1
r:  net NTFS   189572Mb   9% CP CS    PA        glast_u05
t:  net AFS    2097151Mb  51% CP CS              AFS
u:  net NTFS    4675Mb   1% CP CS UN PA FC     DFS
v:  net NTFS   545174Mb  75% CP CS UN PA FC     PUB_532
w:  net NTFS   17359Mb  97% CP CS UN PA FC     Documents
x:  net NTFS   545174Mb  75% CP CS UN PA FC     PUB_532
y:  net NTFS    8789Mb   0% CP CS    PA        slac_afs
z:  net NTFS   149997Mb  36% CP CS UN PA        Users_Q_T_U

.              /cygdrive  user    binmode,noumount
D:/cygwin      /          system  binmode
D:/cygwin/bin  /usr/bin   system  binmode
D:/cygwin/lib  /usr/lib   system  binmode

Found: D:\cygwin\bin\bash.exe
Found: C:\NTWORK~1\COMMON\COMMON\cat.exe
Found: D:\cygwin\bin\cat.exe
Found: d:\uwin\usr\bin\cat.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: d:\uwin\usr\bin\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\ld.exe
Found: C:\NTWORK~1\COMMON\COMMON\ls.exe
Found: D:\cygwin\bin\ls.exe
Found: d:\uwin\usr\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\sh.exe
Found: d:\uwin\usr\bin\sh.exe

  653k 1998/10/30 C:\WINNT\System32\cygwinb19.dll
   56k 2000/12/03 D:\cygwin\bin\cygbz21.0.dll
  621k 2002/01/16 D:\cygwin\bin\cygcrypto.dll
  107k 2002/01/23 D:\cygwin\bin\cygcurl-2.dll
   73k 2002/01/16 D:\cygwin\bin\cygexslt-0.dll
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll
   35k 2002/01/09 D:\cygwin\bin\cygform6.dll
   18k 2000/10/23 D:\cygwin\bin\cyggdbm.dll
   17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll
   20k 2002/01/13 D:\cygwin\bin\cyghistory5.dll
   22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll
   21k 2001/06/20 D:\cygwin\bin\cygintl.dll
   81k 2000/12/05 D:\cygwin\bin\cygitcl30.dll
   35k 2000/12/05 D:\cygwin\bin\cygitk30.dll
   45k 2001/07/04 D:\cygwin\bin\cygjbig1.dll
  119k 2001/06/06 D:\cygwin\bin\cygjpeg6b.dll
   19k 2002/01/13 D:\cygwin\bin\cygltdl-3.dll
   26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 D:\cygwin\bin\cygmenu6.dll
  156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 D:\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 D:\cygwin\bin\cygncurses6.dll
   15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 D:\cygwin\bin\cygpanel6.dll
   40k 2001/11/21 D:\cygwin\bin\cygpcre.dll
   39k 2001/11/21 D:\cygwin\bin\cygpcreposix.dll
  170k 2002/01/21 D:\cygwin\bin\cygpng2.dll
  108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll
  121k 2002/01/13 D:\cygwin\bin\cygreadline5.dll
   66k 2001/11/20 D:\cygwin\bin\cygregex.dll
  156k 2002/01/16 D:\cygwin\bin\cygssl.dll
  390k 2000/12/05 D:\cygwin\bin\cygtcl80.dll
    5k 2000/12/05 D:\cygwin\bin\cygtclpip80.dll
   10k 2000/12/05 D:\cygwin\bin\cygtclreg80.dll
  245k 2001/06/12 D:\cygwin\bin\cygtiff3.dll
  623k 2000/12/05 D:\cygwin\bin\cygtk80.dll
  612k 2002/01/16 D:\cygwin\bin\cygxml2-2.dll
   41k 2001/07/04 D:\cygwin\bin\cygXpm-noX4.dll
   45k 2001/07/04 D:\cygwin\bin\cygXpm-X4.dll
  202k 2002/01/16 D:\cygwin\bin\cygxslt-1.dll
   22k 2002/01/16 D:\cygwin\bin\cygxsltbreakpoint-1.dll
   50k 2002/01/20 D:\cygwin\bin\cygz.dll
  751k 2002/01/21 D:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.9
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 51
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Mon Jan 21 12:48:41 EST 2002
        Shared id: cygwin1S3


Cygwin Package Information
Package             Version             
ash                 20011018-1          
autoconf            2.52-5              
autoconf-devel      2.52-4              
autoconf-stable     2.13-4              
automake            1.5a-1              
automake-devel      1.5-5               
automake-stable     1.4p5-5             
bash                2.05a-2             
bc                  1.06-1              
binutils            20011002-1          
bison               1.31-1              
byacc               1.9-1               
bzip2               1.0.1-6             
clear               1.0                 
compface            1.4-5               
cpio                2.4.2               
cron                3.0.1-5             
crypt               1.0-1               
ctags               5.2-1               
ctags-src           5.2-1               
curl                7.9.3-1             
cvs                 1.11.0-1            
cygrunsrv           0.94-2              
cygutils            0.9.7-1             
cygwin              1.3.9-1             
dejagnu             20010117-1          
diff                0.0                 
ed                  0.2-1               
expect              20010117-1          
figlet              2.2-1               
file                3.37-1              
fileutils           4.1-1               
findutils           4.1                 
flex                2.5.4-1             
fortune             1.8-1               
gawk                3.0.4-1             
gcc                 2.95.3-5            
gdb                 20010428-1          
gdbm                1.8.0-3             
gettext             0.10.38-2           
ghostscript         6.51-1              
gperf               0.0                 
grep                2.4.2-1             
groff               1.17.2-1            
gzip                1.3.2-1             
indent              2.2.6-2             
inetutils           1.3.2-16            
irc                 20010101-1          
jbigkit             1.2-4               
jpeg                6b-4                
less                358-3               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libncurses5         5.2-1               
libncurses6         5.2-8               
libpng              1.0.11-1            
libpng2             1.0.12-1            
libreadline4        4.1-2               
libreadline5        4.2a-1              
libtool             20010531a-1         
libtool-devel       20010531-6          
libtool-stable      1.4.2-2             
libxml2             2.4.13-1            
libxslt             1.0.10-1            
links               0.96-1              
login               1.4-3               
lynx                2.8.4-1             
m4                  0.0                 
make                3.79.1-5            
man                 1.5g-2              
mingw-runtime       1.1-1               
mktemp              1.4-1               
mt                  2.0.1-1             
mutt                1.2.5i-5            
nano                1.0.6-1             
ncftp               3.0.2-2             
ncurses             5.2-8               
newlib-man          20001118-1          
opengl              1.1.0-5             
openssh             3.0.2p1-4           
openssl             0.9.6c-2            
openssl-devel       0.9.6c-2            
patch               2.5-2               
pcre                3.7-1               
perl                5.6.1-2             
popt                1.6.1-1             
postgresql          7.1.3-1             
python              2.1.1-2             
rcs                 5.7-1               
readline            4.2a-1              
regex               4.4-2               
robots              2.0-1               
rsync               2.4.6-3             
rxvt                2.7.2-6             
sed                 3.02-1              
sh-utils            2.0-2               
sharutils           4.2.1-1             
shutdown            1.2-2               
squid               2.4-STABLE20010508  
ssmtp               2.38.7-3            
tar                 1.13.19-1           
tcltk               20001125-1          
tcsh                6.11.00-2           
termcap             20010825-1          
terminfo            5.2-1               
tetex-beta          20001218-1          
texinfo             4.0-5               
texmf               20000804-2          
texmf-base          20000804-2          
texmf-doc           20000804-2          
texmf-extra         20000804-2          
texmf-tiny          20000804-2          
textutils           2.0.16-1            
tiff                3.5.6beta-2         
time                1.7-1               
units               1.77-1              
unzip               5.41-1              
vim                 6.0.93-1            
w32api              1.1-1               
wget                1.7-1               
which               1.5-1               
whois               4.5.17-1            
xpm-nox             4.1.0-1             
zip                 2.3-1               
zlib                1.1.3-7             

Use -h to see help about each section


Derek M. Tournear
SLAC Research Associate (650) 926-3971 fax (650) 926-4335
GOD BLESS AMERICA!
http://www.slac.stanford.edu/~tournear
 
 


-----Original Message-----
From: Michael A Chase [mailto:mchase@ix.netcom.com] 
Sent: Thursday, January 31, 2002 10:16 AM
To: Derek M. Tournear; cygwin@cygwin.com
Subject: Re: Can't create new file/directory


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


> I recently re-installed cygwin, now I can't create a new file or 
> directory within cygwin. I even made a new directory using explorer. 
> Gave this directory the permissions everyone full control.  In cygwin 
> I chmod to 777 on this directory.  It lets me chmod and chown on files

> and directories.  But if I go in that directory and try to make a new 
> file or directory it says permission denied.
>
> any ideas?

Most of us are closer to psychotic than psychic.  Some details would be
useful.

For example:
How did you install Cygwin?
What OS are you running under? (part of cygcheck -s)
What are the exact commands you entered and what are the exact responses
you get back? (cut and paste please, not typed from memory)

--
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.htm
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
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]