4,461
edits
add category |
→Setting a default group for a folder: add group ownership update command |
||
Line 21: | Line 21: | ||
<source lang="bash"> | <source lang="bash"> | ||
$ sudo chmod -R g+w /srv/www/project | $ sudo chmod -R g+w /srv/www/project | ||
</source> | |||
Change group ownership of existing files. | |||
<source lang="bash"> | |||
$ sudo chown -R mhan:dev /srv/www/project | |||
</source> | </source> | ||