Exercise: Remove write protected file
- Create a file that has no rights at all. Try to remove it.
- Create a directory and in it create a file that has no rights.
- Remove the write rights from the directory.
- Try to remove the file.
- Create a directory and in it create a file.
- Remove the eXecutable bit from the directory.
- Try to list the content of the directory.