What is the difference between Linux 775 and 777 permissions who give an example
Reply to discussion (solution)
Read permission R = 4Write Permission W = 2Execute Permissions x = 1775 these three digits represent the rights of the owner,
Law: chmod [who] [+ |-| =] [mode] filename
The meanings of the options in the command are
U represents "User", which is the owner of a file or directory.G means "same group of users", that is, all users who have the same group ID as the owner of
As shown, create a new user Masterbai under root privileges, and add some information to the/etc/passwd fileIn this file, the user information of the server, such as the red box user, is the user we created, and up to 2-25 of the users, belonging to
First, the problem foundWhen installing Jdk.bin in Linux, I found the problem, error./config.sh:line 103:/home/jdk.bin:permission deniedModify Permissions: chmod 775/home/jdk.binSecond, the chmod command detailedFile/directory permission settings
I. Problems Found
When JDK. Bin is installed in Linux, an error is reported./config. sh: Line 103:/home/JDK. Bin: Permission denied.
Modify permission: chmod 775/home/JDK. Bin
Ii. Explanation of CHMOD commands
File/directory permission setting
A file directory permission definitionFirst of all, let's meet the permissions definition of the file directory, and see the ls-l results below.We found a file or directory in front of the 10-bit information, the first bit represents the file type,
Linux Command sorting (commonly used) and linux Command sorting
Common Linux commands
1. There are two types of users in Linux: Super Users (root) and normal users.
A) Super User: You can do anything in linux without any restrictions.
B) common
Linux Common Commands1. There are two types of users under Linux: Superuser (root), normal user.A) Super users: You can do anything under the Linux system without restrictions.b) Ordinary users: do a limited amount of things under Linux.The command
1. Find files for a time periodIn a directory, there are many files, just want to find the December 1 to December 31 documents, how to find?First manually found in this time period of the earliest files, such as 1.txt is December 1 0:1 created, and
Oracle11g RAC construction in linux (III)2. Configure the installation environment (node1 and node2) to create a group, user, directory, and modify permissions (node1 and node2) to create a group, user, and initial password on node1.
Create a group:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.