cannot change/delete/modify files installed by spartacus

Creating and modifying plugins.
Post Reply
heddesheimer
Regular
Posts: 37
Joined: Mon Sep 12, 2005 3:44 pm

cannot change/delete/modify files installed by spartacus

Post by heddesheimer »

Hi,

every file I installed via spartacus cannot be changed nor deleted on my webserver. I also cannot change the rights on these files.

I suspect, that s9y is now the owner of these files and I cannot access them thru the file manager in my hosts's cpanel nor can I change it with FTP (I don't have console access to my webspace).

I even tried to delete the plugin from the s9y admin, but the files are still present and undeletable.

How can I change/delete these Files?

Marian
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: cannot change/delete/modify files installed by spartacus

Post by garvinhicking »

New versions of the spartacus plugin (0.9-beta2) allow to set chmod/chown permissions for files by spartacus.

If you are unable to delete the files, then sadly your FTP user is not in the same group like Apache to delete files. You will need to create a PHP script to change the permissions:

Code: Select all

<?php
chmod('plugins/serendipity_plugin_bla/serendipity_plugin_bla.php', 0777);
?>
You'll need to do this for every file, or create a PHP script that resets permissions on all files. Or use/install a PHP directory manager script, there are several of those out there.

Best regards,
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/
heddesheimer
Regular
Posts: 37
Joined: Mon Sep 12, 2005 3:44 pm

Post by heddesheimer »

Hi Garvin,

thanks for your fast answer. I have written a small script to chmod all the files recursively.

BTW: I used 0666 for the php-files and 0777 for the directories.

Marian
Post Reply