Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^2: mkdir() problem on windows

by myuserid7 (Scribe)
on Nov 21, 2010 at 14:59 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2023-06-08 04:44 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (29 votes). Check out past polls.