Findmore plug-in

Creating and modifying plugins.
Post Reply
Kossatsch
Regular
Posts: 26
Joined: Mon Apr 24, 2006 12:21 pm
Location: /usr/local/sanktwolfgang
Contact:

Findmore plug-in

Post by Kossatsch »

I'd like to costumize the findmore plug-in, but when I try to add an image (via FTP) to the findmore plugin directory, I get an error 550 (the image has about 4KB). The same thing happens at any other directory.

Any idea how to change this?

NB: Directory rights are set to 755.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Findmore plug-in

Post by garvinhicking »

Hi!

Plugins downloadded through Spartacus automatically will get the owner of your webserver user. Depending on your server/provider, this owner will not grant access to your FTP user.

You have several options to solve this:

1. Configure the spartacus plugin and there you can set the ownership and permissions for NEW downloaded plugins and directories. This will only prevent future problems, though.

2. Ask your provider/sysadmin to make your FTP user be within the same group like the PHP/Webserver user so that you can access the files.

3. Create a little PHP script fixperm.php:

Code: Select all

<?php
chmod('/path/to/your/plugin/dir', 0777);
?>
and call it in your browser.

4. Ask your provider/sysadmin to change the permissions/ownerships for you.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply