|
|
How to toggle permissions from the command line
You can enable or disable permissions on a disk with the vsdbutil command:
% vsdbutil -h
Usage: vsdbutil [-a path] | [-c path ] [-d path] [-i]
where
-a adopts (activates) on-disk permissions on the specified path,
-c checks the status of the permissions usage on the specified path
-d disowns (deactivates) the on-disk permissions on the specified path
-i initializes the permissions database to include all mounted HFS/HFS+ volumes
Re: How to toggle permissions from the command line
Interesting... thanks for the tip. Gotta love the generous documentation.
How to toggle permissions from the command line
I discovered this by reading Mike Bombich's Apple Software Restore page: The vsdbutil command doesn't just toggle the "Ignore ownership on this volume" for the time that the volume is mounted, but for all time. By running vsdbutil -a /Volumes/MountPoint you add the GUID of the mounted filesystem to the computer's database of "local" filesystems, a.k.a. those on which it recognizes ownership.
How to toggle permissions from the command line
Does this work on network mount points? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|