[ic] Can't upload new images via Admin UI

Robert Trembath interchange-users@lists.akopia.com
Tue Jun 12 15:23:00 2001


Make sure that the user interchange runs as has write permissions to the
images directory and all it's files.
This solved it for me.
Robert

-----Original Message-----
From: interchange-users-admin@developer.akopia.com
[mailto:interchange-users-admin@developer.akopia.com]On Behalf Of Randy
Clapp
Sent: Tuesday, June 12, 2001 1:39 PM
To: Interchange-Users (E-mail)
Subject: [ic] Can't upload new images via Admin UI


All,

I've been playing with administrative privileges and permissions.  I've
created a login that can view and process orders and can also view/edit/add
items.  The problem is that once I create a new item, I can't upload a
picture associated with the item.  I get a "Not authorized to upload file
images/items/<image filename>" error.

Now, the weird part is that if the file already exists on the machine, I can
upload a new picture over it.  I just can't upload a new picture if the file
doesn't already exist.

I'm running IC 4.6.x on Redhat with a MySQL backend if that matters.  I've
looked through the code for upload_file.html and that's where I found that
the login needed a "Files" listing in yes_functions.  This change allowed
the login to upload files if they already existed on the machine, but still
won't let me upload a brand spanking new file.  Maybe I'm just missing
something in the error routine of the admin code, but I can't seem to find
it.  Any help would be appreciated.

Additionally, if anyone can point me in the direction of some documentation
of the access permissions and parameters of the Access table I can work from
there.

Thanks,
Randy
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users