You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assignee: (none)
Status: Resolved (closed on 2015-12-21 23:55:14 +00:00)
Target Version: 2.1.1
Last Update: 2015-12-21 23:55:14 +00:00 (in Redmine)
The creation of a tmp directory has a wrong effective mask.
The File "library/Icinga/Web/FileCache.php" contains the error.
It creates an effective mask of 1354 instead of 0750 (still incorrect).
The patch fix it to the right mask of 01750, so that the owner can write, group can read, others are forbidden and marks it as as tmp directory.
You can verify the misbehavior under linux with the following script (wrong-right-mask.php):
This issue has been migrated from Redmine: https://dev.icinga.com/issues/10892
Created by kobmaki on 2015-12-18 20:01:22 +00:00
Assignee: (none)
Status: Resolved (closed on 2015-12-21 23:55:14 +00:00)
Target Version: 2.1.1
Last Update: 2015-12-21 23:55:14 +00:00 (in Redmine)
The creation of a tmp directory has a wrong effective mask.
The File "library/Icinga/Web/FileCache.php" contains the error.
It creates an effective mask of 1354 instead of 0750 (still incorrect).
The patch fix it to the right mask of 01750, so that the owner can write, group can read, others are forbidden and marks it as as tmp directory.
You can verify the misbehavior under linux with the following script (wrong-right-mask.php):
run it by
php wrong-right-mask.php
verify the directories by
wrong mask:
stat wrong.0750 | grep Gid
Access: (1354/d-wxr-xr-T) Uid: ( 999/ monmaki) Gid: ( 999/ monmaki)
and the right on:
stat right.01750|grep Gid
Access: (1750/drwxr-x--T) Uid: ( 999/ monmaki) Gid: ( 999/ monmaki)
The text was updated successfully, but these errors were encountered: