2013-03-01

Windows CMD

Change owner to administrator

takeown /f FILE/DIR /a /r /d y

Change owner to current user

takeown /f FILE/DIR /r /d y

Change owner to given user

icacls FILE/DIR /setowner USER /t

Give full permissions to given user

icacls FILE/DIR /grant:r USER:f /t

No comments:

Post a Comment