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

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.

Link: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/icacls

Edit: the following goes into some of the issues regarding taking ownership of various objects on the Windows system: Link: https://rakhesh.com/powershell/using-get-acl-to-view-and-modify-access-control-lists-part-1/

Edit 2: Closest thing to a manpage for ICALS: Link:https://ss64.com/nt/icacls.html

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1230924]
help
Chatterbox?
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
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (249 votes). Check out past polls.

    Notices?