Skip to main content
Notice removed Authoritative reference needed by CommunityBot
Bounty Ended with David Anderson's answer chosen by CommunityBot
Notice added Authoritative reference needed by iceequal
Bounty Started worth 100 reputation by iceequal
reiterated the type of volume
Source Link
iceequal
  • 53
  • 1
  • 9

Currently, users are able toI can open Disk Utility, click the delete or - (minus) button and proceed with permanently erasingerase any volume on thehighlighted, internal APFS disk that isvolume not being used to boot the currentcurrently running operating system, alljust by clicking the delete or - (minus) button, and without getting any prompts for an administrator password.

The same goes even when Disk Utility observes and warns youme that the volume contains another installation of macOS and macOS user data. It never prompts for an administrator password and any user can carry out the operation.

Is it possible to lock-down down these actions for certain APFS volumes? Ideally

That is, it would be good to be able to makehow can I disable / grey out the delete button greyed out / disabled for those volumes, so the button can't be pressed.? Or, how can I make Disk Utility prompt for an administrator password when performing these operations, either globally or on certain volumes?

Is there some wayit possible to achieve this,one or the other possibly using Terminal, diskutil and/or APFS verbs or otherwise?

Currently, users are able to open Disk Utility, click the delete or - (minus) button and proceed with permanently erasing any volume on the internal disk that is not used to boot the current operating system, all without any prompts for an administrator password.

The same goes even when Disk Utility observes and warns you that the volume contains another installation of macOS and macOS user data. It never prompts for an administrator password and any user can carry out the operation.

Is it possible to lock-down these actions for certain APFS volumes? Ideally, it would be good to be able to make the delete button greyed out / disabled for those volumes, so the button can't be pressed. Is there some way to achieve this, possibly using Terminal, diskutil and/or APFS verbs?

I can open Disk Utility and permanently erase any highlighted, internal APFS disk volume not being used to boot the currently running operating system, just by clicking the delete or - (minus) button, and without getting any prompts for an administrator password.

The same goes even when Disk Utility observes and warns me that the volume contains another installation of macOS and macOS user data and any user can carry out the operation.

Is it possible to lock down these actions for certain APFS volumes?

That is, how can I disable / grey out the delete button for those volumes, so the button can't be pressed? Or, how can I make Disk Utility prompt for an administrator password when performing these operations, either globally or on certain volumes?

Is it possible to achieve one or the other possibly using Terminal, diskutil and/or APFS verbs or otherwise?

edited title
Link
iceequal
  • 53
  • 1
  • 9

Prevent certain APFS volumes from being deleted in Disk Utility.app

Source Link
iceequal
  • 53
  • 1
  • 9

Prevent certain APFS volumes from being deleted in Disk Utility

Currently, users are able to open Disk Utility, click the delete or - (minus) button and proceed with permanently erasing any volume on the internal disk that is not used to boot the current operating system, all without any prompts for an administrator password.

The same goes even when Disk Utility observes and warns you that the volume contains another installation of macOS and macOS user data. It never prompts for an administrator password and any user can carry out the operation.

Is it possible to lock-down these actions for certain APFS volumes? Ideally, it would be good to be able to make the delete button greyed out / disabled for those volumes, so the button can't be pressed. Is there some way to achieve this, possibly using Terminal, diskutil and/or APFS verbs?