Outils pour utilisateurs

Outils du site


fr:tricks:windows_perm

Ceci est une ancienne révision du document !


Windows Permissions and Unix Mapping

IDWindows PermissionIncluded PermissionsWindows NotesUnix Equivalent
FC Full Control M, CP, TO, RX, DS, L (ALL) rwx (Read, Write, Execute)
M Modify R, W, D rwx (Read, Write, Execute)
RX Read & Execute R, T (Does not include L as a separate permission, but allows listing of folder contents)rx (Read, Execute)
R Read RA, REA r (Read)
RA Read Attributes None r (Read)
REARead Extended Attributes None r (Read)
T Traverse Folder/Execute FileNone x (Execute)
L List Folder Contents None (is equivalent to RX on folders, allowing the user to view and list folder contents)r (Read)
W Write WA, WEA w (Write)
WA Write Attributes None Not directly equivalent in Unix. Unix does not have a separate permission for writing file attributes.
WEAWrite Extended Attributes None Not directly equivalent in Unix. Unix does not have a separate permission for writing extended attributes.
D Delete None Not directly equivalent in Unix. Deletion of a directory or file is controlled by the permissions of the parent directory.
DS Delete Subfolders and Files None Not directly equivalent in Unix. In Unix write permission (`w`) on a directory allows deletion of files within that directory, but not deletion of the directory itself or its subdirectories.
CP Change Permissions None w (Write)
TO Take Ownership None Not directly equivalent in Unix. Ownership in Unix is managed separately from permissions.

NFSv4 ACL Permissions r - Read Data / List Directory:

Allows reading the contents of a file or listing the contents of a directory. w - Write Data / Add File:

Allows modifying a file or adding a new file in a directory. x - Execute / Traverse:

Allows executing a file (if it is an executable) or traversing a directory. p - Append Data / Add Subdirectory:

Allows appending data to a file or adding a subdirectory within a directory. a - Append Data / Modify Directory:

Allows appending data to a file or modifying a directory. A - Read Attributes:

Allows reading basic attributes of a file or directory (e.g., timestamps, file size). R - Read Named Attributes:

Allows reading extended attributes associated with a file or directory. W - Write Named Attributes:

Allows writing or modifying extended attributes associated with a file or directory. c - Read ACL:

Allows reading the Access Control List of a file or directory. C - Write ACL:

Allows modifying the Access Control List of a file or directory. o - Write Owner:

Allows changing the ownership of a file or directory. s - Synchronize:

Ensures that file changes are synchronized to stable storage immediately. d - Delete:

Allows deleting a file or directory. D - Delete Child:

Allows deleting a file or directory within a directory. t - Read Attributes (NFSv4 specific):

Allows reading attributes related to the ACL. T - Write Attributes (NFSv4 specific):

Allows modifying attributes related to the ACL. N - Read Named Attributes (NFSv4 specific):

Allows reading named attributes specific to NFSv4.

Read (rxaRc): read, execute/traverse, append, read named attributes, read ACL. Modify (rwxpdcaARWco): read, write, execute/traverse, append, delete, read ACL, append/modify directory, read attributes, read/write named attributes, write owner. Traverse (x): execute/traverse directory. Full Control (rwxpdDaARWcCos): all permissions including delete child, synchronize, and full control over attributes and ACLs.

fr/tricks/windows_perm.1716046838.txt.gz · Dernière modification : 2024/05/18 17:40 de adminw1k1