Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Permissions Error on Preferences #40

Closed
alichtman opened this issue May 4, 2018 · 0 comments
Closed

Fix Permissions Error on Preferences #40

alichtman opened this issue May 4, 2018 · 0 comments

Comments

@alichtman
Copy link
Owner

alichtman commented May 4, 2018

# Change permissions on Preferences folder to 644 -> rw for you, r only for everyone else
pref_path = os.path.join(backup_path, "macOS_Preferences")
if os.path.isdir(pref_path):
	print("Changing permissions.")
	os.chmod(pref_path, 0o644)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant