Skip to content

Instantly share code, notes, and snippets.

@BlogBlocks
Last active January 31, 2018 03:42
Show Gist options
  • Save BlogBlocks/d4e58c79272c14f49195910c1d1d8a67 to your computer and use it in GitHub Desktop.
Save BlogBlocks/d4e58c79272c14f49195910c1d1d8a67 to your computer and use it in GitHub Desktop.
Error: dconf-CRITICAL **: unable to create file '~/.cache/dconf/user': Permission denied. dconf will not work properly.
#!/bin/bash
# corrects the error
# Error: dconf-CRITICAL **: unable to create file '~/.cache/dconf/user': Permission denied. dconf will not work properly.
# Run fix-permissions.sh as sudo
# $1 is a variable to insert your name as owner
# Use Example:
# chmod +x fix-permissions.sh
# sudo ./fix-permissions.sh yourusername
chown $1 ~/.cache/dconf
chown $1 ~/.cache/conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment