Skip to content

Instantly share code, notes, and snippets.

@marcobellaccini
Last active January 23, 2021 13:03
Show Gist options
  • Save marcobellaccini/dab330680ad4793ae475682ae80f0b95 to your computer and use it in GitHub Desktop.
Save marcobellaccini/dab330680ad4793ae475682ae80f0b95 to your computer and use it in GitHub Desktop.
Are you sure you know file-system permissions and file attributes?

Are you sure you know file-system permissions and file attributes?

  • FORK this gist
  • fill the table
  • CHECK THE ANSWERS
  • star this gist and share it on Twitter, Reddit or whatever you prefer
Windows - NTFS Linux – ext4
Changing file owner requires elevated privileges (/root)
Users other than the owner can change file permissions
Simple users can write to a file on which they have read-only permissions
Elevated users (/root) can write to a file on which they have read-only permissions
Simple users can delete a file on which they have read-only permissions
Elevated users (/root) can delete a file on which they have read-only permissions
Users can delete a file with read-only attribute set
Elevated users (/root) can delete a file with read-only attribute set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment