CSS minified - write permission denied?

Started by AllMassive, January 29, 2023, 09:57:12 PM

Previous topic - Next topic


Running SMF 2.1 since a few months and this logentry appeared:

Die Datei "/var/www/board/Themes/default/css/minified_09cdad569d87e2819bc03695151243b4.css" konnte nicht erzeugt werden. Bitte überprüfe, dass das Verzeichnis angemessene Berechtigungen hat.

This is the first time that error occured and underneath that Themes/default/css-Folder is only one other minified_xxxx.css File, which has been created 'today'.

About the Installation:

- Version of SMF

- Modifications installed
1 Battle
2 SMF Arcade
3 Inter Font for SMF  1.2
4 Smarter Internal Links  1.0
5 Forum Width Setting 1.2
6 SoundCloud Embed Widget 1.3
7 Simple Audio Video Embedder 7.0.1
8 Auto Twitter Embed  3.0
9 Users Online Today  2.2
10 Have-I-Been-Pwned  1.0
11 SMF 2.1.3 Update    1.0
12 Hide Message Icons  1.0
13 Disable FLoC Tracking  1.0
14 Pretty URLs 2.5.1c

- Themes installed
Default Themes - only using Curve2

- non-English Language packs
- UTF-8

- caching level
Memcached Level 1

- Server                 
Apache/IIS version: apache2 2.4.54
PHP version: 8.0.27-2+0~20230113.47+debian11~1.gbp65d51b
Database type and version: mysqld 10.5.18
Cache: memcached 1.6.9

- Where the Error Occurred
File: n/a
Line: n/a
There is no File or Line mentioned in the Logs, just the URL used, which was:
Forum has no access for Guests and error occured by some unauthed user

- How to Reproduce this Error
No idea
- Additional Information       
'Minimize CSS and Javascript' is enabled
/Themes/default/css/ has 0775 Permission
no mod-security2

Aleksi "Lex" Kilpinen

Usually, if a file is created by PHP it should also be writable to PHP, and so this should not happen.
Can you check who owns the file, and what permissions are set?
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF