Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

Commit

Permalink
fix log perms
Browse files Browse the repository at this point in the history
  • Loading branch information
obfuscurity committed Aug 22, 2014
1 parent 8545245 commit ffb01ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ useradd -c "carbon user" -g 998 -u 998 -s /bin/false carbon
chmod 775 ${GRAPHITE_STORAGE}
chown www-data:carbon ${GRAPHITE_STORAGE}
chown -R carbon ${GRAPHITE_STORAGE}/whisper
chown carbon:carbon ${GRAPHITE_STORAGE}/log
mkdir ${GRAPHITE_STORAGE}/log/apache2
chown -R www-data ${GRAPHITE_STORAGE}/log
chown www-data ${GRAPHITE_STORAGE}/log/webapp
chmod +x /etc/init.d/carbon-cache

# Start our processes
Expand Down

1 comment on commit ffb01ce

@obfuscurity
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Props to @jjshoe for explaining there was a bug with the inherited permissions while I insisted otherwise. Although I swear it worked correctly before I must've introduced a regression at some point. Thanks for your help @jjshoe. 💖

Please sign in to comment.