Files

Misc

Locked files

In addition to permissions, Mac OS X has a few UNIX flags that Cocktail uses to lock or unlock files and folders. When locking or unlocking files Mac OS uses the BSD program chflags to set file attributes. The “Lock or unlock item” feature extends Finder’s capabilities of locking items with two useful options.

If the "Allow data to be added to end of locked file" option is selected, you will not be able to rename and move the locked file but you will still be able to modify it. If this option is not selected, the file will be completely locked and you will not be able to move, rename and modify it.

If the "Allow files to be added to locked folders" option is selected, you will not be able to rename and move the locked folder but you will still be able to add items to it. If this option is not selected, the folder will be completely locked and you will not be able to move, rename and modify the contents of this folder.

There is no way to lock or unlock links and aliases. The chflags utility is used to modify file flags.

Archives preference pane

When installed a new preference pane "Archives" is installed in System preferences. In the Archives preference pane one can set Mac OS X's behavior when expanding and saving archives.