-
Notifications
You must be signed in to change notification settings - Fork 17
Enhance set-attr command for access flag #61
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or request
Description
The current set-attr implementation is somewhat primitive:
accessmay be a two-digit hexadecimal value with the ProDOS access flags, the word "locked", or the word "unlocked".
While this is functional, it's a little awkward to use for anything but the simple lock/unlock case, and it doesn't provide a way to modify some flags without changing others.
It would be useful, especially when operating on a large group of files, to be able to pass arguments like:
rwnd: set the permission to allow read/write/rename/delete (i.e. unlocked), and clear other bits+wnd: add write/rename/delete permission (unlock) without modfying other bits-wndb: remove write/rename/delete permission (lock) and clear backup without modifying other bits
Disabling the "read" flag is pretty rare, but the "invisible" flag is set occasionally, and the "backup" bits might be meaningful.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request