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

Randy Clapp interchange-users@lists.akopia.com
Wed Jun 13 13:20:01 2001


Robert,

Thanks for the reply and clarification.  They are owned by the user interch,
and have write permissions set for owner.  

My intent, was to show that I don't think my problem is at the file system
level.  If I go into the access tables and flip the "SuperUser" setting,
everything works like expected (I can edit, change and create new files).
If I turn the "SuperUser" setting off, then I can't write/upload a new file.
Maybe I'm completely missing something.  I'm not a Perl guru, but I've been
able to manage my way through things so far.  I'm hesitant to call this a
bug, because I think it's just something simple.  I have just run out of
ideas to try.

Thanks for your help,
Randy


-----Original Message-----
From: Robert Trembath [mailto:robert@ishoptech.com]
Sent: Tuesday, June 12, 2001 2:09 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI


No I mean the files in the /var/www/html/<your catalog> need to be owned by
the user "interch" and have read write permissions.

-----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 2:42 PM
To: 'interchange-users@developer.akopia.com'
Subject: RE: [ic] Can't upload new images via Admin UI


The interchange user does have all the permissions, and if I set the
"SuperUser" flag, then I can upload images that don't already exist.  I'm
just needing to figure out what setting "SuperUser" turns on, so I can
enable that permission without giving the user "SuperUser" permissions.

Any Ideas?

Thanks,
Randy

-----Original Message-----
From: Robert Trembath [mailto:robert@ishoptech.com]
Sent: Tuesday, June 12, 2001 1:26 PM
To: interchange-users@developer.akopia.com
Subject: RE: [ic] Can't upload new images via Admin UI


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

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

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