By Yan on Tuesday, 20 August 2019
Posted in General
Likes 0
Views 844
Votes 0
Hello!Please tell me how to set rights to folders under the leadership Centos 7.Created the files,deleted the site and restored the site from a backup,all the folders have 644,Photo, avatar not downloaded,etc., how to set the right command in the shell?
Hello!Please tell me how to set rights to folders under the leadership Centos 7.Created the files,deleted the site and restored the site from a backup,all the folders have 644,Photo, avatar not downloaded,etc., how to set the right command in the shell?
Yan
·
Tuesday, 20 August 2019 21:20
·
0 Likes
·
0 Votes
·
0 Comments
·
find . -type f -exec chmod 644 {} \;

find . -type d -exec chmod 777 {} \;

now everything works fine!
Yan
·
Tuesday, 20 August 2019 21:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Yan,

Are you sure you want to set all directories to 777? That is actually a pretty bad permission mask as this means anyone on the server has privileges to these directories.
·
Tuesday, 20 August 2019 22:07
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm not sure that's a good idea - 777.Please tell me what permission for the folder should be that everything worked well?
it may be necessary to set the permission 777 on particular folder?
Yan
·
Wednesday, 21 August 2019 15:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Write please,what are the rights on the folders you recommend that all worked fine?
Yan
·
Wednesday, 21 August 2019 15:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

In this case here is it ok if we just use Akeeba Admin Tools Core to change permissions?
What do u think? Thanks
·
Wednesday, 21 August 2019 15:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Write please,what are the rights on the folders you recommend that all worked fine?

I would like to suggest you set this following permission :

Chmod all the folder permission to 755
Chmod all the file permission to 644
JoomlaFolder/configuration.php <- set to 444
·
Wednesday, 21 August 2019 18:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks,done!It appeared it was necessary to change the user (root was specified) on the server to folders and files.Now it works with the rights of : -755 folders,files -644,configuration.php - 444.
Now everything works fine!!!
Yan
·
Thursday, 22 August 2019 00:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Thursday, 22 August 2019 09:57
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post