2024-02-29, 01:30 PM
It depends on who own the directory and who runs the httpd.
You can test with 777
You can test with 777
/sitemap.xml doesn't appear
|
2024-02-29, 01:30 PM
It depends on who own the directory and who runs the httpd.
You can test with 777
2024-02-29, 01:33 PM
(This post was last modified: 2024-02-29, 01:41 PM by Chinezul. Edited 2 times in total.)
2024-02-29, 02:33 PM
(This post was last modified: 2024-02-29, 02:34 PM by ZnapShot. Edited 1 time in total.)
(2024-02-29, 01:33 PM)Chinezul Wrote:(2024-02-29, 01:30 PM)Crazycat Wrote: It depends on who own the directory and who runs the httpd. it might be highly unsafe! with this you might expose your configuration files to everybody. but it depends on the explicit command, if you set the permissions recursevly or not. i dont recomment this, please dig down where the expected folder is located and then set the EXPLICIT permissions.... please dont crack nuts with a sledge hammer
2024-02-29, 03:37 PM
(2024-02-29, 02:33 PM)ZnapShot Wrote:(2024-02-29, 01:33 PM)Chinezul Wrote:(2024-02-29, 01:30 PM)Crazycat Wrote: It depends on who own the directory and who runs the httpd. Thanks! Don't worry, i set it up back to 755 immediately. I don't know which is the file for which permission 777 must be set. The task file?
2024-03-02, 03:03 PM
(2024-02-29, 03:37 PM)Chinezul Wrote:(2024-02-29, 02:33 PM)ZnapShot Wrote:(2024-02-29, 01:33 PM)Chinezul Wrote:(2024-02-29, 01:30 PM)Crazycat Wrote: It depends on who own the directory and who runs the httpd. Up!
2024-03-02, 11:19 PM
(This post was last modified: 2024-03-02, 11:20 PM by Crazycat. Edited 1 time in total.)
Seems like your httpd doesn't use your user (or the owner user) so you must give write access to "other" group.
The /var/www directory can be in 757 mode since the sitemap.xml file is already created, but 777 is not a security trouble.. sitemap.xml could probably be in 646 mode, but also in 666 mode. https://en.wikipedia.org/wiki/Chmod#Nume...ermissions
2024-03-03, 01:51 PM
(2024-03-02, 11:19 PM)Crazycat Wrote: Seems like your httpd doesn't use your user (or the owner user) so you must give write access to "other" group. It doesn't make sense what you say. This cannot be the solution, to change the /var/www permissions for a plugin. I want to know which is the director/file of the plugin whose permissions need to be changed.
2024-03-09, 02:45 PM
(2024-03-03, 01:51 PM)Chinezul Wrote:(2024-03-02, 11:19 PM)Crazycat Wrote: Seems like your httpd doesn't use your user (or the owner user) so you must give write access to "other" group. Up!
2024-03-09, 11:22 PM
(This post was last modified: 2024-03-09, 11:26 PM by HLFadmin. Edited 1 time in total.)
Quick look at the plugin task -- it's simple and will work with the correct permissions.
If 777 permissions worked (you never said what you actually applied the permissions to -- details matter), but 755 did not, then httpd might not be running as Owner (first digit). If it is running as Group (2nd digit), 5 does not give write permissions, but 6 does. If it is running as Other (3rd digit), 5 does not give write permissions, but 6 does. You should try to determine which part of the task is failing: the initial part of creating the file, or the update part of rewriting the file. This stackoverflow question may give you some guidance. https://stackoverflow.com/questions/2122...se#2122915 Permissions can be challenging to understand at first, but it is an essential skill. Keep at it. Eventually you will graduate from "do this for me" to "this is what I think I know, tell me what I'm missing".
2024-03-10, 04:06 PM
(2024-03-09, 11:22 PM)HLFadmin Wrote: Quick look at the plugin task -- it's simple and will work with the correct permissions. I understand that I have to change the permissions of the task file. Right? abp_sitemap.php in this case. |
« Next Oldest | Next Newest »
|