biber Posted Tuesday at 11:04 AM Share Posted Tuesday at 11:04 AM When I try to delete the entries in a logfile by the "burn"-function (Helpers at the log-page), nothing happens. If I use the "chop"-funktion, I get the following error: Unable to open file for writing: /home/sites/site100043347/web/malabu.de/site/assets/logs/file-compiler.txt.new Rights are set to 755 to the Logs-directory and to 644 to the files inside. Link to comment Share on other sites More sharing options...
bernhard Posted Wednesday at 11:55 AM Share Posted Wednesday at 11:55 AM On 9/9/2025 at 1:04 PM, biber said: 644 This means that only the owner of the file can write to it. Does it have the correct owner? 1 Link to comment Share on other sites More sharing options...
biber Posted Wednesday at 03:18 PM Author Share Posted Wednesday at 03:18 PM Hi@bernhard, thanks for your hint. I played around a little with the permissios and found: the logs-directory needs 775, the files stay at 644. Now everything is fine. Link to comment Share on other sites More sharing options...
bernhard Posted Wednesday at 10:19 PM Share Posted Wednesday at 10:19 PM The logs directory definitely does NOT need 775. See https://processwire.com/docs/security/file-permissions/#permission-755-for-directories-and-644-for-files 755 is the least restrictive recommendation and as ryan notes if it can be locked down further its recommended to do so. If it only works for you with 775 that's a good and a bad news: good: you know that permissions are the issue bad: you should fix it properly to make it work with 755 ...which should be the case if the webserver runs as the same user that owns the directory and log files. You might want to talk to your hosting company if you are not hosting it yourself. 1 Link to comment Share on other sites More sharing options...
biber Posted Thursday at 08:24 PM Author Share Posted Thursday at 08:24 PM Hi @bernhard, I tried again to change the permissions, but had the same issue with 755. So I set it back to 775 and live with that. This is also recommended by the web host. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now