EnglishFrenchSpanish

OnWorks favicon

dpns-getacl - Online in the Cloud

Run dpns-getacl in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dpns-getacl that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


dpns-getacl - get DPNS directory/file access control lists

SYNOPSIS


dpns-getacl [-a] [-d] path...

DESCRIPTION


dpns-getacl gets the Access Control List associated with a DPNS directory/file. For each
path, it displays the file name, owner, the group, and the Access Control List (ACL) if
present. If a directory has a default ACL, dpns-getacl also displays the default ACL.
Regular files cannot have default ACLs.

The output looks like:

# file: filename
# owner: username
# group: groupname
user::perm
user:uid:perm
group::perm
group:gid:perm
mask:perm
other:perm
default:user::perm
default:user:uid:perm
default:group::perm
default:group:gid:perm
default:mask:perm
default:other:perm

The first "user" entry gives the permissions granted to the owner of the file. The
following "user" entries show the permissions granted to specific users, they are sorted
in ascending order of uid. The first "group" entry gives the permissions granted to the
group owner of the file. The following "group" entries show the permissions granted to
specific groups, they are sorted in ascending order of gid. The "mask" entry is the
maximum permission granted to specific users or groups. It does not affect the "owner"
and "other" permissions. The "mask" entry must be present if there are specific "user" or
"group" entries. "default" entries associated with a directory are inherited as access
ACL by the files or sub-directories created in that directory. The umask is not used.
Sub-directories also inherit the default ACL as default ACL. As soon as there is one
default ACL entry, the 3 default ACL base entries (default user, default group, default
other) must be present.

The entry processing conforms to the Posix 1003.1e draft standard 17.

path specifies the DPNS pathname. If path does not start with /, it is prefixed by the
content of the DPNS_HOME environment variable.

uid is displayed as the username if known else as the numeric id.

gid is displayed as the groupname if known else as the numeric id.
perm is expressed as a combination of characters rwx-

OPTIONS


-a only display the access ACL.

-d only display the default ACL.

EXAMPLES


dpns-getacl /dpm/dteam/test/file.log/d2

# file: /dpm/dteam/test/file.log/d2
# owner: baud
# group: c3
user::rwx
group::r-x #effective:r-x
other::r-x
default:user::rwx
default:group::r-x
default:other::r-x

EXIT STATUS


This program returns 0 if the operation was successful or >0 if the operation failed.

Use dpns-getacl online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad