Use the 'ls' command with the long listing option:
ls -l
Use the 'ls' command with the '-l' (long listing) option
There is generally only 1 standard command for permissions on a file or directory - chmod. You can affect permissions by other commands such as changing the ownership or group ownership of a file or directory. Other commands may be specific to different versions of Unix and Linux, so are not listed here.
Also called the access mode of a file or directory.
This is a display of file permissions. In particular, it means:drwxrw-r-- - The specified object is a directory, not a filedrwxrw-r-- - The file / directory can be read by its ownerdrwxrw-r-- - The file / directory can be modified by its ownerdrwxrw-r-- - The file / directory can be executed as a binary by its ownerdrwxrw-r-- - The file / directory can be read by members of the specified groupdrwxrw-r-- - The file / directory can be modified by members of the specified group.drwxrw-r-- - The file / directory cannot be executed by members of the specified group.drwxrw-r-- - The file / directory can be read by others not in the group.drwxrw-r-- - The file / directory cannot be modified by others not in the group.drwxrw-r-- - The file / directory cannot be executed by others not in the group.
The typical way to view file permissions is to use the 'ls' command with the long listing options enabled, For example, to see the file permissions for everything in the current directory, type: ls -lsa
Select the file you want to change permissions for in the directory listing. Click on the Info icon in the toolbar, or select Get Info from the File menu. Change the permissions in the Info window. You can automatically set permissions when you upload a file. In the Preferences window select Server Options and tick the Set permissions of uploaded files box.
Each file and directory can be marked read-only, writable, and executable. Each file / directory will contain three sets of permissions that can be marked as such, namely the owner, other users in the owners group, and users not in the group.
It depends on where the 000 is being used. For permissions, it would indicate that the file or directory or device has no permissions at all. For the 'umask' it would indicate that all newly created files or directories would have wide open permissions (world read, world write, etc.).
hit your computer with a hammer, it's scientificaly proven. Log in as an administrator, change the permissions. If you cannot change the permissions on the file (or any parent directory that is blocking it) then you might have to reformat you system (loosing all data).
Use the 'ls' command with the '-l' (long listing) option
You don't say what you want to do with the permissions, but most shells have a 'test' command that can look at various permissions. Look at the 'man' command for the shell you are running in to see what tests are possible on files and directories. You can check to see if the target is a directory, or a file, and whether it has read, write, or execute/search permissions. Again, it varies by the shell environment.
Mostly depends on the filesystem, but generally it'll be the name of the file, the kind of file it is (Regular, directory, or link.), where the file is found physically, which can be multiple values. File's size, and I believe also file permissions.