[CentOS] Web server files ownership?

Pete Biggs pete at biggs.org.uk
Fri Jul 7 11:42:58 UTC 2017


On Fri, 2017-07-07 at 12:31 +0100, John Hodrien wrote:
> On Fri, 7 Jul 2017, Bill Gee wrote:
> 
> > File permissions are 574.  Note that owners are NOT required to have higher
> > permissions than groups!
> 
> But the owner can change the permissions, no?

Not necessarily. In order to change permissions on a file you need to
have write access to the directory (i.e. the special file in the parent
directory that describes the files present in the directory). The owner
of a file does not necessarily have those permissions in a normal
directory.

P.




More information about the CentOS mailing list