In this example, the directories have 755 ( u=rwx,go=rx) privileges, while the files have 644 (u=rw,go=r) privileges. The basic syntax includes using the find command to locate files/directories and then passing it on to chmod to set the permission: sudo find -type -exec chmod \ To assign separate permissions to directories and files, you can use the find command. Alternatively, you can utilize the symbolic mode (using alphanumerical characters) and use the command: chmod -R u=rwx,go=rx Example. Check the desired boxes or directly enter a valid numeric value (e.g. Note: In the example above, the permission is defined using the octal/numerical mode ( 755). Chmod Calculator is a free utility to calculate the numeric (octal) or symbolic value for a set of file or folder permissions in Linux servers.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |