0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Windowsアクセス権を操作するとき用のメモ

Posted at

icacls使うときのメモ。継承関係の設定をよく忘れるので。

rem フォルダにユーザー/グループ権限をつける(CI)とかつけるれる
icacls "folderpath" /grant "domain\usernama:(CI)(OI)(F)"

rem ファイルにユーザー/グループ権限をつける
icacls "filepath" /grant "domain\username:(F)"

rem 継承関係の設定
icacls "path" /inheritance:r

カレントディレクトリ直下の権限確認(サブツリー含めるのは今度調べたい。)

icacls *

使い方の詳細確認はコマンドのみ入力

icacls
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?