Apple Xserve Up Mac OS X Server Specifikace Strana 164

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 329
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 163
164 Chapter 9 Working with File Services
The output should look like the following:
-rw-r--r--+ 1 juser wheel 0 Apr 28 14:06 file1
owner: juser
0: guest deny read
1: user1 allow write
For more information, see the ls man page.
Using fsaclctl to Enable and Disable ACL Support
By default, ACL is enabled at the volume level. However, you can use the fsaclctl
command to disable or enable ACL support on any volume. In addition, you can use
this command to determine whether ACL support is enabled on a given volume.
After enabling or disabling ACL support using the fsaclctl command, restart your
server or remount the volume.
To enable ACL support on a volume:
Enter the following command:
$ sudo fsaclctl -p
path
-e enable
To disable ACL support on a volume:
Enter the following command:
$ sudo fsaclctl -p
path
-d disable
To enable ACL support on all mounted volumes:
Enter the following command:
$ sudo fsaclctl -a -e enable
To disable ACL support on all mounted volumes:
Enter the following command:
$ sudo fsaclctl -a -d disable
To display ACL support status for a volume:
Enter the following command:
$ fsaclctl -p
path
The output is similar to the following:
Access control lists are supported on /Volumes/Data HD.
To display ACL support status for all mounted volumes:
Enter the following command:
$ fsaclctl -a
Parameter Description
path
The path to the volume.
Zobrazit stránku 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 328 329

Komentáře k této Příručce

Žádné komentáře