1
票
Accepted
wsl2で chmod usr1:usr1 file で invalid mode: 'usr1:usr1' エラーで変更できません
ファイルの所有者を変更するには chown コマンドを使用してください。
(chmod はファイルの権限 = パーミッションを変更するコマンドです)
名前
chown - ファイルの所有者とグループを変更する
書式
chown [OPTION]... [OWNER][:[GROUP]] FILE...
Only top scored, non community-wiki answers of a minimum length are eligible