Page 1 of 1

cannot change/delete/modify files installed by spartacus

Posted: Thu Oct 06, 2005 1:27 pm
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

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

Posted: Thu Oct 06, 2005 1:52 pm
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

Posted: Thu Oct 06, 2005 4:07 pm
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