martybucko
Joined: 05 Jan 2004 Posts: 1
|
Posted: Mon Jan 05, 2004 3:04 am Post subject: Image uploads but attributes of image set to 600.. not 777. |
|
|
Which means users cannot access the image...
What am I doing wrong?
The folder I upload to has attributes of 777, but when I upload an image the attributes are set automatically to 600...
I think I have edited the b2config correctly and have tried everything else... please help... Thanks in advance...
b2config:# set this to 0 to disable file upload, or 1 to enable it
$use_fileupload = 1;
# enter the real path of the directory where you'll upload the pictures
# if you're unsure about what your real path is, please ask your host's support staff
# note that the directory must be writable by the webserver (ChMod 766)
# note for windows-servers users: use forwardslashes instead of backslashes
#$fileupload_realpath = '/home/your/site/b2/images';
$fileupload_realpath = '/home/martybucko/mainwebsite_html/img';
# enter the URL of that directory (it's used to generate the links to the pictures)
$fileupload_url = 'http://www.mammoth.net.au/img';
# accepted file types, you can add to that list if you want
# note: add a space before and after each file type
# example: $fileupload_allowedtypes = ' jpg gif png ';
$fileupload_allowedtypes = ' jpg gif png ';
# by default, most servers limit the size of uploads to 2048 KB
# if you want to set it to a lower value, here it is (you cannot set a higher value)
$fileupload_maxk = '96';
# you may not want all users to upload pictures/files, so you can set a minimum level for this
$fileupload_minlevel = '1';
# ...or you may authorize only some users. enter their logins here, separated by spaces
# if you leave that variable blank, all users who have the minimum level are authorized to upload
# note: add a space before and after each login name
# example: $fileupload_allowedusers = ' barbara anne ';
$fileupload_allowedusers = ''; |
|