49

Set permission of file equivalent to chmod 400 on Windows.

 1 year ago
source link: https://gist.github.com/jaskiratr/cfacb332bfdff2f63f535db7efb6df93
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Set permission of file equivalent to chmod 400 on Windows. · GitHub

Set permission of file equivalent to chmod 400 on Windows.

If dont work this option, try :
click right
security > options advanced > disable heritage
add > select entity o group > "type your user windows" > confirm name > accept > set basic perm > accept

Thanks!
Amazon AWS pem file can be ran with this much easier mod.
However, on Windows 10, what worked for me is:

right click on the file > properties > security > advanced > disable inheritance > 'Convert inherited permissions into explicit permission on this object'
Click on "allow | everyone | Full Control" > edit > 'select a principal' > type your username > 'check names' > select your username > ok > ok > ok (ok until all windows are closed)

Works now!
Another inexplicable way to complicate things from MS.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK