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: 1.3.22: TMPDIR Initialization


Mark Moore wrote:
Robert,

If the permission on the folder pointed to by $TEMP is going to be changed
during install, it seems to me it would be done by setup.exe.  If not, where
would that operation be performed?

It looks like chmod doesn't cut it:

markm at fatboy ~
$ ls -ld $TEMP
d---rwx---+   7 Administ SYSTEM      16384 Apr  5 00:10
/cygdrive/c/WINNT/TEMP

markm at fatboy ~
$ chmod +rw $TEMP

markm at fatboy ~
$ ls -ld $TEMP
drw-rwxr--+   7 Administ SYSTEM      16384 Apr  5 00:10
/cygdrive/c/WINNT/TEMP

markm at fatboy ~
$ perldoc perldoc
Error in tempfile() using /XXXXXXXXXX: Parent directory (/) is not writable
at /usr/bin/perldoc line 564

markm at fatboy ~
$

How do you know that perldoc is using $TEMP? It seems from that output that it's using '/'.




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