Are you sure you know file-system permissions and file attributes?
Here you can check your answers!
Windows - NTFS | Linux – ext4 | |
---|---|---|
Changing file owner requires elevated privileges (/root) | YES | YES |
Users other than the owner can change file permissions | YES, if they have «read permissions» and «change permissions» advanced permissions | NO |
Simple users can write to a file on which they have read-only permissions | NO | NO |
Elevated users (/root) can write to a file on which they have read-only permissions | NO | YES |
Simple users can delete a file on which they have read-only permissions | NO | YES, with a warning message |
Elevated users (/root) can delete a file on which they have read-only permissions | YES | YES |
Simple users can change file attributes (i.e.: read-only, compressed… NOT permissions!) | YES, if they have the permissions to modify those attributes | NO |
Users can delete a file with read-only attribute set | YES, if they have «delete» permissions | NO |
Elevated users (/root) can delete a file with read-only attribute set | YES, if they have «delete» permissions | NO |