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.
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.
Use the 'ls' command with the '-l' (long listing) option
cp - copy a file rm - delete a file mv - rename a file mkdir - create a directory rmdir - remove a directory etc...
Use the 'ls' command with the long listing option: ls -l
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.
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.).
Use the 'du' command in the directory you are interested in.
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).
To copy the file from source to target as well as preserve the permissions by writing next to cp '-p'