Locked Out
Home Up Why Shell? Unix Notes Using Telnet Locked Out File Nodes Internet Basics Real-World Unix
Updated:
2001-05-21 14:15

Locked Out of Unix/Linux

If you find yourself unable to access your home directory, with errors such as the following:

$ ls
ls: .: The file access permissions do not allow the specified action.

You have probably removed either read or execute permissions from your directory.  To restore these permissions for your userid, use this:

$ chmod u+rwx $HOME

Details on the chmod command are available in your textbook, in Floppix labs, and in the manual pages.

You must be able to read your directory, to see what file names are in it.  You must have execute permission on a directory to pass through it to any of its contents.

Web Author: Ian! D. Allen idallen@idallen.ca      Updated: 2001-05-21 14:15

Internet Free Zone Level 1 logo Support free and non-commercial Internet.

Any Browser logo This site works best in Any Browser, a campaign for non-specific WWW.

Creative Commons License logo This work is licensed under a Creative Commons License.