os.chown() operations will fail for non-root users #10
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
os.chown() operations will fail for non-root users
Priority: High
Component: fs.py
Type: Bug
Description
Multiple locations in the code call
os.chown()without error handling. On Unix systems, only root can change file ownership, so these operations will fail for normal users.Locations
curateipsum/fs.py:225-227curateipsum/fs.py:377curateipsum/fs.py:460Problem
Normal users running backups will encounter
PermissionErrorwhen trying to preserve ownership of files, causing backup to fail.Proposed Solution
Either:
Impact
High - Makes tool unusable for non-root users in current form.