Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ File permissions under Linux     - Orabbix binding Python send graphical reports (Linux)

- Ubuntu 14.04 compile, install, configure, the latest development version GoldenDict (Linux)

- Java enum use (Programming)

- Android custom controls create the simplest skid menu in the history (Programming)

- Help you to see Linux system architecture type 5 Common Commands (Linux)

- Ubuntu 14.04 and derivative version of the user on how to install cURL 7.37.1 (Linux)

- Elaborate .NET Multithreading: Using Task (Programming)

- To batch create users under Linux (Linux)

- phpinfo (): like phpinfo as a Python script (Programming)

- Build a super simple "hardware" firewall router (Linux)

- Gitolite how to import other Git repositories (Server)

- Java foundation comb: Array (Programming)

- C # function (Programming)

- Detailed usage history command (Linux)

- VirtualBox - Linux system virtual machine shared folders (Linux)

- Ubuntu Server 14.04 installation Web server (Linux + Apache + MySQL + PHP) (Server)

- CentOS7 iptables (Linux)

- Java Generics (Programming)

- ORA-01839 error caused by incorrect system date setting (Database)

- Use GNU / Linux broadcasting of television programs (Linux)

  File permissions under Linux
  Add Date : 2018-11-21      
  Learning Linux, the Linux system to find files than Windows Rights Management is very strict.

Create a new group under Linux: groupadd group name

Linux newly created user: useradd username

Create users and groups: useradd -g group name Username

To view the user information: cat / etc / passwd or vi / etc / passwd which the cat command can only be viewed, not modified permissions, vi command to view existing permissions have modify permissions (ie read / write privileges)

eg: Create two groups: A and group B

Create two users: a and b

Wherein a user belongs to group A, b user belong to group B.

B When the user wants to access a user's files, you must allow a user to the appropriate authority.

Using the command: chmod 777 a

Then use: ls -l will appear

drwxrwxr-x this string of characters, the first of which is the file type, followed by a group of three, respectively, for the current user privileges, the current set of user permissions, user rights of other groups.

w: writable represent value: 2

r: readable representation value: 4

x: represents executable Value: 1

Where 777 represents all users have read and write permissions to perform, because 1 + 2 + 4 = 7, is not it. Nobody said more difficult to understand. .

When the user wants to b Group A, it is necessary to use administrator privileges: usermod -g A b.
- Ubuntu 14.10 install KDE Plasma 5.2 (Linux)
- To learn linux security (Linux)
- Linux System Getting Started Learning: The Linux command line burn ISO or NRG image to DVD (Linux)
- Logging information through the web GUI (LogAnalyzer) (Server)
- VirtualBox - Linux system virtual machine shared folders (Linux)
- Learn about EditText little depth (Programming)
- Ubuntu 15.10 15.04 14.10 14.04 Install Ubuntu Tweak (Linux)
- Ubuntu install the camera driver (Linux)
- KVM add virtual disks (Linux)
- Thinking in Java study notes - initialization and cleanup (Programming)
- MySQL completely uninstall and install Configuring Character Sets under Linux (Database)
- Linux user groups, file permissions Detailed (Linux)
- To build PHP environment (Nginx + MariaDB + PHP7) under CentOS 6.5 (Server)
- Some Linux networking tools you might not know (Linux)
- Linux based exercises, interview questions (Linux)
- IOS interview questions Summary (Programming)
- Oracle to create an external table (Database)
- Get and Post requests Comments (Linux)
- Using RAID in Linux: Create a RAID 5 (Linux)
- Java learning problems encountered (Programming)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.