Getting an "Access Denied" or "Permission Denied" error? Follow a hands-on file permissions lab using Windows 11 and Kali Linux virtual machines.
We'll make a safe test file, verify that an ordinary account can read it, deliberately change the relevant permission, observe the failure, and restore the original access. You'll also see why a Linux file with read permission can still be unreachable when its parent directory blocks traversal.
In this tutorial:
- Inspect Windows file permissions and access-control lists (ACLs)
- Test file access under a separate Windows account
- Use `icacls` to add and remove a controlled read denial
- Read Linux `ls -l` permissions and interpret 644 / 600
- Use `chmod` to reproduce and fix Permission Denied
- Recognize when directory traversal is the actual problem
- Verify recovery and clean up disposable lab accounts and files
Prerequisites: Windows 11 and Kali Linux VMs, administrative access to disposable guests, and a VMware snapshot or equivalent recovery plan. The exact commands, safety checks, and cleanup steps are included in the downloadable lab notes.
This is an educational lab. Do not make broad permission changes on personal or production files. Real output can differ according to filesystem and security configuration.
Works in Practice is a hands-on technology series from Packet Pending. Learn how systems behave by observing, testing, and troubleshooting.
Official reference documentation:
Microsoft icacls: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/icacls
GNU file permissions: https://www.gnu.org/software/coreutils/manual/html_node/Mode-Structure.html
#FilePermissions #Windows11 #Linux