The difference between Linux and Windows systems

  

For users, the constant update of Linux and Windows has caused competition between the two. Users can have their favorite systems and are also concerned about the development of competition. Many changes in Linux relative to Windows are beneficial. What is the difference between Linux system and Windows system file permissions? Everyone knows that there is a big difference between Linux and Windows. I don’t know where the difference is! Today we will take a look at where the difference is!

We all know that each user will create a user group when creating directly under Linux, and generate a user home directory. In the user's home directory, the user can create a file with his own permissions. , then what is the default permission? As shown:

As shown: test file permissions are -rw-rw-r--, testfile file permissions are: drwxrwxr-x, analysis is as follows:

Figure is not painted well , but does not affect our judgment, it can be known that when UMASK defaults to 0002, the file permissions established by ordinary users are: 664, file permissions are 775; the above numerical meanings are: 4: read; 2: write; 1: Execution; 0: No permission;

After understanding the Linux file permissions, then we will do file permissions analysis under Windows; similarly, we first create a new user remote login Windows 2003 server; then create a new file Folder, a document, then we look at the default permissions:

You can see that the newly created file and the document, the same user remote has the same permissions; that is, the remote user has to manage all the files he built. Permissions; this is different from Linux. Under the default UMASK, the user has the right to read and write to the documents he has built without the permission to execute. He has read and write permissions for the folders he has built. In Windows, Any files you built, has execute permissions to read and write, this is a manifestation of the Linux security in Windows.

The above learned can make everyone understand that the control of Linux file permissions is higher than Windows permissions control. Therefore, at the security level, Linux is higher than Windows. Need friends can find out!

Copyright © Windows knowledge All Rights Reserved