Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

File/Directory Permissions created by Admin Plugin?

Started by Muut Archive 10 years ago · 3 replies · 411 views
10 years ago

Hello,
I've got an issue with Grav using the admin-plugin on only one special server. All files and directories created by the admin-plugin were given the permissions 755 for directories and 644 for files. This causes problems with my (S)FTP user. Are these default permissions configurable via Grav? Or do the rely on the Servers configuration?

10 years ago

I don't think so, because my Shell-User does not have the permission to change the permissions of the files/directories created by the admin-plugin. So this script had to be executed by the web-user/admin-plugin.

The question is: Does Grav try to set the permissions? And if so, can you configure this?

10 years ago

The post lists the different scenarios you might have. In your case, "PHP/Webserver runs with different accounts but same Group" or "Different accounts, fix permissions manually", you need to set the proper umask.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1354 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4064 9 years ago
Archive · by Muut Archive, 9 years ago
1 2951 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago