[pmwiki-users] Uploads#2

Patrick R. Michaud pmichaud at pobox.com
Thu Nov 23 13:17:43 CST 2006


> > On 11/19/06, Mark Trumpold <mtrumpol at cacegypt.org> wrote:
> >> Hi All
> >> 
> >> So I can get the 'attach' link on my page, I get the UL form but when I UL I
> >> get a
> >> 
> >> "Warning: mkdir(/qwerty): Permission denied in ..." error. I have a
> >> directory call qwerty/xxx so how to I sidestep the mkdir(/iqwerty) and just
> >> UL to my qwerty/xxx
> >> 
> >> $EnableUpload = 1;
> >> $DefaultPasswords['upload'] = crypt('loikju');
> >> $UploadDir = "/qwerty/xxx";
> >> # $UploadUrlFmt = "http://www.john.com/qwerty/xxx"
> >> $EnableUploadOverwrite = 0;
> >> $EnableUploadVersions=1;

You almost certainly do not want $UploadDir to be set to "/qwerty/xxx",
as this will attempt to create directories at the root of the filesystem.
You probably need something in front of the leading slash.

Pm




More information about the pmwiki-users mailing list