This is the command fs_listacl 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:
NAMA
fs_listacl - Displays ACLs
RINGKASAN
fs daftarcl [-jalan <direktori/file path>>] [-Indo] [-jika] [- cmd] [-bantu]
fs la [-p <direktori/file path>>] [-Indo] [-jika] [- cmd] [-h]
fs daftar [-p <direktori/file path>>] [-Indo] [-jika] [- cmd] [-h]
DESKRIPSI
The fs daftarcl command displays the access control list (ACL) associated with each
specified file, directory, or symbolic link. The specified element can reside in the DFS
filespace if the issuer is using the AFS/DFS Migration Toolkit Protocol Translator to
access DFS data (and DFS does implement per-file ACLs). To display the ACL of the current
working directory, omit the -jalan argumen.
To alter an ACL, use the fs setakl command. To copy an ACL from one directory to another,
gunakan fs peniru command. To remove obsolete entries from an ACL, use the fs membersihkan
perintah.
HATI-HATI
Placing a user or group on the "Negative rights" section of the ACL does not guarantee
denial of permissions, if the "Normal rights" section grants the permissions to members of
the system:anyuser group. In that case, the user needs only to issue the hapus log perintah untuk
obtain the permissions granted to the system:anyuser group.
PILIHAN
-jalan <direktori/file path>+
Names each directory or file for which to display the ACL. For AFS files, the output
displays the ACL from the file's parent directory; DFS files do have their own ACL.
Incomplete pathnames are interpreted relative to the current working directory, which
is also the default value if this argument is omitted.
-Indo Displays the Initial Container ACL of each DFS directory. This argument is supported
only on DFS directories accessed via the AFS/DFS Migration Toolkit Protocol
Penerjemah.
-jika Displays the Initial Object ACL of each DFS directory. This argument is supported only
on DFS directories accessed via the AFS/DFS Migration Toolkit Protocol Translator.
- cmd
Outputs an fs setakl command string that can be used to recreate the ACL applied to
the specified file, directory or symbolic link.
-bantu
Mencetak bantuan online untuk perintah ini. Semua opsi valid lainnya diabaikan.
KELUARAN
The first line of the output for each file, directory, or symbolic link reads as follows:
Access list for <directory> is
If the issuer used shorthand notation in the pathname, such as the period (".") to
represent the current current directory, that notation sometimes appears instead of the
full pathname of the directory.
Next, the "Normal rights" header precedes a list of users and groups who are granted the
indicated permissions, with one pairing of user or group and permissions on each line. If
negative permissions have been assigned to any user or group, those entries follow a
"Negative rights" header. The format of negative entries is the same as those on the
"Normal rights" section of the ACL, but the user or group is denied rather than granted
the indicated permissions.
AFS does not implement per-file ACLs, so for a file the command displays the ACL on its
directory. The output for a symbolic link displays the ACL that applies to its target file
or directory, rather than the ACL on the directory that houses the symbolic link.
The permissions for AFS enable the possessor to perform the indicated action:
a (mengelola)
Ubah entri pada ACL.
d (hapus)
Remove files and subdirectories from the directory or move them to other directories.
saya (masukkan)
Tambahkan file atau subdirektori ke direktori dengan menyalin, memindahkan, atau membuat.
k (kunci)
Setel kunci baca atau kunci tulis pada file di direktori.
l (mencari)
Daftar file dan subdirektori dalam direktori, stat direktori itu sendiri, dan
mengeluarkan fs daftarcl perintah untuk memeriksa ACL direktori.
r (baca)
Baca isi file dalam direktori; keluarkan perintah "ls -l" untuk menyatakan
elemen dalam direktori.
w (menulis)
Ubah isi file dalam direktori, dan keluarkan UNIX chmod perintah untuk
change their mode bits
ABCD EFGH
Tidak memiliki arti default untuk proses server AFS, tetapi tersedia untuk
applications to use in controlling access to the directory's contents in additional
ways. The letters must be uppercase.
For DFS files and directories, the permissions are similar, except that the DFS "x"
(execute) permission replaces the AFS "l" (lookup) permission, DFS "c" (control) replaces
AFS "a" (administer), and there is no DFS equivalent to the AFS "k" (lock) permission. The
meanings of the various permissions also differ slightly, and DFS does not implement
negative permissions. For a complete description of DFS permissions, see the DFS
dokumentasi.
CONTOH
The following command displays the ACL on the home directory of the user "pat" (the
current working directory), and on its "private" subdirectory.
% fs listacl -path . private
Daftar akses untuk . adalah
Hak biasa:
sistem: penulis rl
tepuk rlidwka
tepuk: teman rld
Hak negatif:
smith rlidwka
Access list for private is
Hak biasa:
tepuk rlidwka
Perintah berikut menghasilkan fs setakl command required to recreate the ACL on the
home directory of the user "pat" (the current working directory), and on its "private"
subdirektori.
% fs listacl -path . private -cmd
fs setacl -dir . -acl system:authuser rl pat rlidwka pat:friends rlid
fs setacl -dir . -acl smith rlidwka -negative
fs setacl -dir private -acl pat rlidwka
HAK ISTIMEWA DIBUTUHKAN
Jika -jalan argument names an AFS directory, the issuer must have the "l" (lookup)
permission on its ACL and the ACL for every directory that precedes it in the pathname.
Jika -jalan argument names an AFS file, the issuer must have the "l" (lookup) and "r"
(read) permissions on the ACL of the file's directory, and the l permission on the ACL of
setiap direktori yang mendahuluinya dalam nama path.
Jika -jalan argument names a DFS directory or file, the issuer must have the "x"
(execute) permission on its ACL and on the ACL of each directory that precedes it in the
nama jalur.
Use fs_listacl online using onworks.net services