Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Win7 cannot MKDIR or write

by thechartist (Monk)
on Mar 05, 2019 at 19:34 UTC ( #1230924=note: print w/replies, xml ) Need Help??

in reply to Win7 cannot MKDIR or write

To put it simply, Windows permissions are complicated.

The ACL model in Windows can often get in an inconsistent state. For example, you can give yourself read/write/execute permissions at the folder level, but this might not percolate downward to individual items in the directory, even if you click the appropriate box in the GUI. I had this happen when my profile got corrupted, and I needed to move files to a new account.

You might need to write a Powershell script to change all of the files individually. Pretty annoying.

Your best bet would be to read up on the built-in utilities called ICACLS.


Edit: the following goes into some of the issues regarding taking ownership of various objects on the Windows system: Link:

Edit 2: Closest thing to a manpage for ICALS: Link:

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2020-10-25 16:14 GMT
Find Nodes?
    Voting Booth?
    My favourite web site is:

    Results (249 votes). Check out past polls.