[pmwiki-users] FilePermissions

ABClf languefrancaise at gmail.com
Fri Dec 17 08:58:00 CST 2010


Hi Olga,

here are some basic ideas ; not sure any will help you to solve your problem.

-do you have the last pmwiki installed ? there used to be a bug for
something similar(?) to your problem in an older version
(cf. http://www.pmwiki.org/wiki/PITS/00396)

-for information, what does you ftp program say about :
wiki.d/
uploads/
Are they writable ? Mine are 755 and working fine.

-be sure you gave write rights to the real upload destination folder
(search for « upload » in your config to see if there aren't some
special config things related to upload, for example a dedicated
folder that is not the default one) :
« Defaults to uploads/ in the pmwiki directory, but can be set to any
location on the server. This directory must be writable by the
webserver process if uploading is to occur. »
http://www.pmwiki.org/wiki/PmWiki/UploadVariables#UploadDir

-have a look at : http://www.pmwiki.org/wiki/PmWiki/UploadsAdmin : and
especially §Upload directory configuration (?)
I don't remember what I did when I installed my PmWiki ; but, in that
page, it is said : "Important: do NOT create the uploads directory
yet! See the next paragraph." So, see next paragraph ; who knows ?

Hope this can help a little (though not sure ;).

Gilles.


2010/12/16 Olga Lositsky <olgita3 at gmail.com>:
> Dear Pmwiki Users,
>
> I have attempted to enable uploads on our Wiki. In addition to changes in
> the config file, I created an uploads directory and gave it world-writable
> permissions using chmod 777 as described here:
> http://www.pmwiki.org/wiki/PmWiki/FilePermissions
>
> Unfortunately, when I try to upload a file, I get this message:
>
> Warning: mkdir() failed (Permission denied) in
> /var/www/public_html/pmwiki/pmwiki.php on line 548
>
> PmWiki can't process your request
>
> PmWiki needs to have a writable /pmwiki/ directory before it can continue.
> You can create the directory manually by executing the following commands on
> your server:
>
>     mkdir //pmwiki
>     chmod 777 //pmwiki
>
> Does this mean that the webserver still does not have permission to write in
> uploads or could there be another problem?
>
> I would really appreciate any tips!
>
> Thank you in advance,
> Olga
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>



-- 

---------------------------------------
| A | de la langue française
| B | http://www.languefrancaise.net/
| C | languefrancaise at gmail.com
---------------------------------------



More information about the pmwiki-users mailing list