Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: mkdir() problem on windows

by myuserid7 (Scribe)
on Nov 21, 2010 at 14:59 UTC ( [id://872790]=note: print w/replies, xml ) Need Help??


in reply to Re: mkdir() problem on windows
in thread mkdir() problem on windows

that's it!

cacls was the trick.

use File::Copy; mkdir "test"; open (PH, "|cacls test /t/ /g VORDEFINIERT\Benutzer:F"); print PH "j\r\n"; close PH; move ('movable', 'test/mov');

works fine! (I'm writing a 'j' to the process because i didn't find a switch to turn off the 'are you sure' question german)

Thanks alot to all of you, especiallly roboticus

have a nice day!

Replies are listed 'Best First'.
Re^3: mkdir() problem on windows
by cdarke (Prior) on Nov 21, 2010 at 17:45 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://872790]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2024-04-25 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found