reset file permissions?
Posted
by
acidzombie24
on Super User
See other posts from Super User
or by acidzombie24
Published on 2011-02-25T05:28:08Z
Indexed on
2011/02/25
7:27 UTC
Read the original article
Hit count: 680
linux
|file-permissions
In my /var/www folder i have permission 2750 with the owner being root (unless i change it by hand) and the group being www-data.
I mv a folder into /var/www and i'd like to reset the permissions so everything is 2750 and for the group to be www-data, is it possible to do it in one command? or do i need to do multiple cmds? (its two commands, 3 if i want the same owner but it be nice to do it with one for this folder)
© Super User or respective owner