Help Topic: First Install Permission Issues on macOS M1

Issue:

Encountering ddrive just spinning after first install for path, it could be a previous app has set root permissions and here isn how tom resolve it: “/Users/anonuser/.config/ddrive” on a macOS system, which prevents the creation of necessary directories for the ddrive application.

Steps to Diagnose the Issue:

  1. Check Directory Permissions:

Run the following commands to verify the permissions of the affected directories:
ls -lha /Users
ls -lha /Users/anonuser
ls -lha /Users/anonuser/.config
ls -lha /Users/anonuser/.config/ddrive

Look for any anomalies, especially in the ownership and permission settings of these directories.

Identify the Root Cause:

If you notice that the .config directory or its subdirectories are owned by root, this could be the source of the issue. A common cause might be another application, such as htop, creating the .config directory with root permissions.

Solution:

Change Ownership: to your own user name

To resolve the issue, change the ownership of the .config directory back to the appropriate user (anonuser in this case). Run the following command as root:

sudo chown -R anonuser:staff /Users/anonuser/.config

Re-run the Application:

After changing the ownership, app drive should run normalluy, or try running the ddrive application again. This should resolve the continuous loop error.

Additional Observations:

as of this post This issue has been observed primarily on M1 MacBooks, with no issues reported on other devices.

2 Likes

Nice find James!!!

1 Like

thanks hans, found that when I was diagnosing with dominic.

1 Like