[Kc] Permission denied on unlink

Teal ironicface at earthlink.net
Thu Mar 24 10:49:52 PST 2005


David Nicol wrote:

> 
> Is the directory separator the culprit?  The filenames are formed
> 
> "$path/$name"  do I need to switch to a backslash, or to :: ?
> 

Not dealing with any other issue ... do try \\ instead of /
I have had problems under windows with similar issues. And of course,
beware of spaces in win path names. If the space occurs higher in the 
file system, you may have not noticed it.

The other thing I remember is that path may be determined from the perl 
executable, not from your script? Use absolute paths.

I realise that is not portable. Maybe set up a configuration file, and 
give instructions, and commented out settings for a unix style setup.

Teal
-- 
Five minutes of Silence,
Meditate. Breathe. Be Alive.



More information about the kc mailing list