SMF Support > SMF 2.0.x Support

"the Packages directory or one of the files in it are not writable!" BUT IT IS!

(1/6) > >>

themavesite:
I want to install a mod through the package manager but when I upload it and try to install, SMF gives me this error


--- Quote ---You cannot download or install new packages because the Packages directory or one of the files in it are not writable!
--- End quote ---

Though I set the file and folder permissions in /Packages to 777...

Anyone knows what the problem is??

Illori:
do you have a temp folder in the packages folder?

MrPhil:
777, paradoxically, isn't always writable. Your host may run security software such as suPHP that blocks access to the [world writable] folder (and, incidentally, lets SMF write to the folder with 755 permissions). I don't think that SMF looks at the permissions -- IIRC it actually tries to write. So, a 777 permission will result in a failed write, and the message that it's not writable. Always start with 755 for permissions. Only if you're told that SMF can't write, try 775, and as a last resort, 777. Try to change 777 back to 755 when you're done with your update operation. But first, see if you're missing your temp folder.

themavesite:
I made a temp folder, still get this error

"You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"

I'm on my own VPS btw.

Illori:
what are the permissions on the temp folder?

Navigation

[0] Message Index

[#] Next page

Go to full version