Jump to the post that solved this thread.
Not Solved Failed to open stream: Permission denied - Line:
#1
Not Solved
I get this message and I heard I need to set permissions to 644. How do I change it?
Here is a screenshot: http://i.imgur.com/jFUu3Vd.png

I cannot upload other plugins because it says Failed to open stream: Permission denied - Line:


Which file do I set permissions to 644 please?
Reply
#2
Not Solved
anon_rep.php

The path to it is in the former part of that error line.
Reply
#3
Not Solved Wink 
I fixed it thanks by the following command on putty: s udo chm od 0777 -R /var /www
Reply
#4
Not Solved
(2017-01-11, 01:18 AM)VIPMinecraft Wrote: I fixed it thanks by the following  command on putty: s udo chm od 0777 -R /var /www

CHMOD it all back to 644. CHMOD 777 is asking for trouble.

If you're still getting permission errors, CHOWN www-data:www-data -R /var/www

Don't chmod 777.
Reply
#5
Not Solved
You definitely don't want the entire file system to be 777. By default, folders should be 755 and files should be 644. Only a few folders and files need anything more than this, the issue you had was the permissions seemed to be more restrictive than usual, all you needed to do was change it back to the default, not grant all permissions to absolutely everything.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
Reply
#6
Not Solved
(2017-01-11, 12:41 PM)Matt Wrote: You definitely don't want the entire file system to be 777. By default, folders should be 755 and files should be 644. Only a few folders and files need anything more than this, the issue you had was the permissions seemed to be more restrictive than usual, all you needed to do was change it back to the default, not grant all permissions to absolutely everything.

So how do I fix it back cause now my forums is all open
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 3 Guest(s)