Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

TimeMachine problem after upgrade to Mojave

Hello, after upgrade to Mojave I cannot use the command tmutil anymore.

Has anyone else had this same problem?


$ ls -lae

drwxrwxr-x+ 6 root wheel 204 Jul 25 06:53 Backups.backupdb

0: group:everyone deny add_file,delete,add_subdirectory,delete_child,writeattr,writeextattr,chown


$ sudo tmutil listbackups

Password:

The operation could not be completed because tmutil could not access

private application data on the backup disk. Use the Privacy tab

in the Security and Privacy preference pane to add Terminal to the

list of applications which can access Application Data.


Thanks in advance.

MacBook Air (11-inch Mid 2013), macOS Mojave (10.14)

Posted on Oct 1, 2018 8:17 AM

Reply
Question marked as Best reply

Posted on Oct 1, 2018 1:14 PM

Use the Privacy tab

in the Security and Privacy preference pane to add Terminal to the

list of applications which can access Application Data.

Did you do this? Mojave introduced more restrictive rules for applications, so you need to add your terminal app to the "Full Disk Access" section of the Security and Privacy preferences.

9 replies
Question marked as Best reply

Oct 1, 2018 1:14 PM in response to petersonpsantos

Use the Privacy tab

in the Security and Privacy preference pane to add Terminal to the

list of applications which can access Application Data.

Did you do this? Mojave introduced more restrictive rules for applications, so you need to add your terminal app to the "Full Disk Access" section of the Security and Privacy preferences.

Oct 23, 2018 11:39 PM in response to ArthurCAK

Don't know why I didn't think of this right away, but the simplest solution that doesn't require weakening system security is to just open a terminal and ssh to the localhost. Since you've used the network to jump out of the Terminal's SIP context you can now execute those commands as needed.


That said, Apple: it's idiotic to think that security can be built on trusting applications, it needs to be an intersection of trust of an application *and* the user. Unless SIP takes this into account it's a pointless "feature" that's only effective/practical for very trivial apps or single user systems.


You built OS X on UNIX, don't be so quick to jettison what's baked into the foundation.

Jan 2, 2019 7:57 AM in response to ArthurCAK

Very true, but as far as Terminal application, this app permission seems to be applied on top of file permission, meaning even after Terminal is granted "Full Disk Access", the user/group/others permission still applies (so AND not OR) which is what you meant by "intersection", no?


My personal gripe with this "feature" is that it's not clearly defined what "Full Disk Access" means ("data like ..." is not precise language) and what applications *should* be reasonably given the access. One example is that Time Machine obviously has full disk access by default as it's designed to back up and restore the whole multi-user system. However, in the Timer Machine System Preferences, the exclusion items picker can no longer go into some of the "privacy" directories such as "~/Library/Application Support/MobileSync/Backup", which I personally exclude due to the huge sizes of today's iDevices. I had to add "System Preferences" explicitly to "Full Disk Access" to be able to do that now, which strikes me as convoluted and incongruent. I suppose one can argue that TM's full disk access is more "hidden" than a picker window which could potentially be hacked to gain access to private data, but this line is fairly weak and arbitrary. At the very least, granting full access should be an option on the picker window itself (like show hidden files) to make it more obvious. In my opinion, Time Machine System Preferences should simply be subject to an admin password authentication and then grant access to the full file system including hidden files and even other user's directory (to avoid the hassle of login into multiple user accounts to add TM exclusions).

Jan 3, 2019 7:28 PM in response to weakunix

Ive actually noticed something else that doesn't actually make sense after you add Terminal into 'Full Disk Access'

It doesn't actually work all the time...

If i immediately try to access the volume just after a TM backup starts, i still get access denied. I have to wait a few minutes into the 'Preparing backup' phase. Note, that the 'Time Machine Backups' Volume is there, its as soon as i try to get into Backups.backupdb i get denied, possibly its locking it from any access until file transfer takes place.

TimeMachine problem after upgrade to Mojave

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.