[Linux] Change of authority, owner, owning group

Introduction

When I touched the Linux environment for the first time in a long time, I forgot the Linux command quite a bit, so make a note of it.

Change permissions

chmod [mode] [file name or directory name]

Owner change

chown [user name] [file name or directory name]

Change ownership group

chgrp [group name] [file name or directory name]

Recommended Posts

[Linux] Change of authority, owner, owning group
Owner change (memo)
Meaning of Linux permissions
[Linux] Group related commands
[Linux] Change user password