Back to LabsLinux File PermissionsEasy
Linux
👥 38 users⏱ 15 min100 points
Change file permissions and understand the impact on access.
Instructions
- Create a new file called 'testfile'.
- Change its permissions to read-only for everyone.
- Try editing the file as a regular user.
Prerequisites
- Basic Linux CLI
- Understanding of chmod
Hints
- Use 'touch testfile' to create a file.
- Use 'chmod 444 testfile' to set read-only permissions.
- Try 'nano testfile' as a regular user.
Try it yourself!