answersLogoWhite

0

There are 10 characters in a string for a Unix-style file permission.

The format is:

dooogggaaa (where d is a directory flag, oindicates the permissions for the file owner, g indicates the group the file belongs to, and a is for everyone else [all])

The permission values breakdown:

  • d is only available on the first character, and if toggled, this means that the file is a directory (folder).
  • - means no permission (or in the case of the first character, it means it's a file and not a directory).
  • r grants read permissions.
  • w grants write permissions.
  • x grants execute (run) permissions, which is generally used on program files.

In your case, -rw-rwx-wx means:

  • It's not a folder (the directory flag is not there)
  • The file owner is allowed to read and write to the file
  • The group is allowed full access (read, write, execute)
  • Everyone else is only allowed write and execute permissions.

If you find it hard to memorize those, there's a different way to memorize it (as 3 digits).

Your file has a value of 673.

Like the previous representation of file permissions, the first digit represents the owner's permissions, the second digit represents the group permissions, and the last digit represents the everyone's permissions.

To get these numbers:

A "read" permission is assigned the number 4.

A "write" permission is assigned the number 2.

A "execute" permission is assigned the number 1.

If you add them together, you'll get a sum for the permissions.

For example, your 673:

  • File owner: read + write = 4 + 2 = 6
  • Group: read + write + execute = 4 + 2+ 1 = 7
  • All: write + execute = 2 + 1 = 3
User Avatar

Wiki User

10y ago

What else can I help you with?

Related Questions

How do you create a file in Linux with write-only permissions?

Create a file and set it's permissions to 222


How do you change file permissions on Yummy FTP?

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.


What are file permissions in Linux?

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


If get assigned read permissions what may you do with the contents?

If you have read permissions on a file then you may read its contents.


In the nfts permissions to access a particular file the only person who can regain access to it is the?

Data Base Properties"Owner" of the file. The owner always has the ability to modify the permissions of a file or folder.


Is used to gain access to a file when permissions to the file are in error or corrupted?

cacls.exe


What is used to gain access to a file when permissions to the file are in error or corrupted?

Cacls.exe


How to verify the ntfs and folder permissions?

NTFS File Permission Allows the User To Full Control Change permissions and take ownership, plus perform the actions permitted by all other NTFS file permissions Modify Modify and delete the file plus perform the actions permitted by the Write permission and the Read & Execute permission Read & Execute Run applications plus perform the actions permitted by the Read permission Read Read the file, and view file attributes, ownership, and permissions Write Overwrite the file, change file attributes, and view file ownership and permissions


What does binary file permission 6 indicate in Linux?

File permissions in Linux are not represented in binary format, but rather octal format. The first digit represents owner permissions, second digit is group permissions, and the final one is permissions for everyone. Read permissions are assigned a 4, write permissions are assigned a 2, and execute permissions are assigned a 1. A 6 permission allows read and write (4+2).


What is another name for file permissions?

Also called the access mode of a file or directory.


What permissions control access to the files and folders stored on disk volumes formatted with the NTFS file system?

In short: a very good understanding of file and folder permissions. There is no clear answer to this question. Folder and file permissions are very complicated. You can individually control folder and file permissions by right clicking on the folder/file, select properties, click on security and click on 'Edit...'. Be aware that this can have far reaching consequences. I suggest you go to http://technet.microsoft.com/en-us/ and learn about file and folder permissions. It is not easy and very tricky.


If the permissions are r-xrwxrwx who can't write?

In the permissions r-xrwxrwx, the owner has read and execute permissions (r-x), the group has read, write, and execute permissions (rwx), and others also have read, write, and execute permissions (rwx). This means that the owner cannot write to the file, as indicated by the absence of the write permission in the owner's set of permissions. Therefore, only the owner cannot write to the file.