http://qs1969.pair.com?node_id=872705

myuserid7 has asked for the wisdom of the Perl Monks concerning the following question:

Hello dear Perlmonks!

I think my problem is relatively simple, but after searching the net for two hours I give up and come to you. So:

I'm having a part of a script, running on Windows XP, that creates a new directory in a existing directory. So far, so good. But when I now try move a file into this new directory, I'm getting a "Permission denied" - Error. And it's correct, I tested it and found out, that every directory I create with mkdir() becomes write-protected in general (Meaning the Wirte-Protect-Checkbox on the first page of the file/folder properties - NOT the permissions on Security Page).

Now - how can I remove the general write protection from the folders, I created with mkdir() ?

thanks for any help or tipps