Permalink
Browse files

Normal user can't write to a logfile touched by root. Even if you set…

… g+w ;)
  • Loading branch information...
1 parent b1fa1c5 commit 2cf90ffb0e355e099c4739ce44f660c4994c25dd @kvz kvz committed Jun 1, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 install.sh
View
1 install.sh 100755 → 100644
@@ -174,6 +174,7 @@ deploy(){
echo -n " > /home/$username/.lipsyncd/lipsyncd.log..."
touch /home/$username/.lipsyncd/lipsyncd.log
+ chown $username:$username /home/$username/.lipsyncd/lipsyncd.log
chmod g+w /home/$username/.lipsyncd/lipsyncd.log
echo "done"

1 comment on commit 2cf90ff

Owner

philcryer commented on 2cf90ff Jun 13, 2011

Good one, thanks for the catch.

Please sign in to comment.