mescon / Muximux

A lightweight way to manage your HTPC
GNU General Public License v2.0
1.14k stars 82 forks source link

Unable to open secret.txt #41

Closed kylerw closed 8 years ago

kylerw commented 8 years ago

image

kylerw commented 8 years ago

Permissions on the secret.txt file are not correct. Manually fixing it resolved on my end.

CoreyJ87 commented 8 years ago

Interesting. You mean they were not correct on download? I've never had this problem installing fresh.

kylerw commented 8 years ago

Correct, on update.

mescon commented 8 years ago

I think this is because any new files you get from doing git pull are set with the permissions of the user you are doing the git command as - while the PHP code is trying to write to the file as the user your webserver is running as. I don't think we can control this, so we might have to add a line or two about this to guide people who perhaps are not as smart as you @kylerw :-)