View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005239 | Composr alpha bug reports | [All Projects] General / Uncategorised | public | 2023-01-09 16:44 | 2023-01-15 09:33 |
Reporter | Patrick Schmalstig | Assigned To | Chris Graham | ||
Severity | Minor-bug | ||||
Status | resolved | Resolution | fixed | ||
Summary | 0005239: fixperms: New permissions are being applied on "other", but webserver user might own the files | ||||
Description | The fixperms.php tool is "fixing" bad permissions by applying them to the "others" bit (owner|group|others). However, this does not work if the files are owned by the same user as the webserver is running and the permissions for owner are borked; they need to be applied to owner in that case if the php cli has permission to do so (else, probably throw an error that it needs to run as sudo / admin). | ||||
Tags | No tags attached. | ||||
Sponsorship open | |||||
|
Discussed with Patrick. This affects Linux. The issue is User bitmask privileges take precedence over Other bitmask privileges. i.e. 0066 permissions would not result in a writable file for the owner of that file, but would for some random other user. That's news to us, but ok. |
|
Also, addon registry hooks were not being checked for get_chmod_array like they should have been via fixperms.php. Also fixed. |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-01-09 16:44 | Patrick Schmalstig | New Issue | |
2023-01-09 16:44 | Patrick Schmalstig | Status | non-assigned => assigned |
2023-01-09 16:44 | Patrick Schmalstig | Assigned To | => Chris Graham |
2023-01-09 16:45 | Patrick Schmalstig | Description Updated | View Revisions |
2023-01-09 17:11 | Chris Graham | Note Added: 0007863 | |
2023-01-15 01:25 | Chris Graham | Status | assigned => resolved |
2023-01-15 01:25 | Chris Graham | Resolution | open => fixed |
2023-01-15 09:33 | Patrick Schmalstig | Note Added: 0007872 | |
2023-02-26 18:29 | Chris Graham | Category | General => General / Uncategorised |