Setting the Correct File Owner
-
The doc page says that for Apache+PHP apps, permissions should be "www-data.www-data". Is that a typo? If not, how do I make the change?
What should the owner be for:
- folders
- subfolders
- files
- htaccess
- index.php
Thanks!
-
The doc page says that for Apache+PHP apps, permissions should be "www-data.www-data". Is that a typo? If not, how do I make the change?
What should the owner be for:
- folders
- subfolders
- files
- htaccess
- index.php
Thanks!
-
The doc page says that for Apache+PHP apps, permissions should be "www-data.www-data". Is that a typo? If not, how do I make the change?
What should the owner be for:
- folders
- subfolders
- files
- htaccess
- index.php
Thanks!
@humptydumpty said in Setting the Correct File Owner:
"www-data.www-data". Is that a typo?
A typo with the separator which should be : and not a . as in
www-data:www-data
@murgero has provided the right command here above.
-
-
@humptydumpty said in Setting the Correct File Owner:
Thanks guys. I'm used to cPanel
Now welcome to HIGH-CLASS simplified servers operations, through Cloudron web administrators' secret society
-
@humptydumpty said in Setting the Correct File Owner:
Thanks guys. I'm used to cPanel
Now welcome to HIGH-CLASS simplified servers operations, through Cloudron web administrators' secret society
-
FWIW, '.' or ':' works as separator between user and group in chown. Though ':' is recommended nowadays since it allows a '.' in the username.