Page 1 of 1

Plugin editing permissions error?

Posted: Tue Apr 13, 2010 12:33 am
by andustar
Hi all,

I recently installed Serendipity and have spent many hours getting my hands dirty changing stuff :) I'm not a proper coder but I am handy with Ctrl + F which seems to be enough to make some basic changes to the layout and stuff.

I have a tiny tweak I'd like to make to the freetag plugin, but when I try to upload my edited php file I get a permissions error, '553 permission denied'. Why is this? I've set the freetag plugin folder to read-write, but if I try to change the permissions on the file itself (serendipity_event_freetag.php) I also get a permissions error.

I don't even know if the change I'm trying to make would work because I can't test it!

Any ideas?

Re: Plugin editing permissions error?

Posted: Tue Apr 13, 2010 1:44 pm
by garvinhicking
Hi!

You might have installed the freetag plugin by using the Spartacus plugin service, which saves files with the owner of your webserver user, unless you configured the plugin otherwise. So in your case, you might want to create a "change.php" file with:

Code: Select all

<?php
chmod('plugins/serendipity_event_freetag/serendipity_event_freetag.php', 0777);
to make the file fully writable.

HTH,
Garvin

Re: Plugin editing permissions error?

Posted: Tue Apr 13, 2010 8:43 pm
by andustar
Cheers, that works! And now the tag names don't break my sidebar, yay!

I did indeed install it through Spartacus.