Plugin editing permissions error?

Creating and modifying plugins.
Post Reply
andustar
Posts: 2
Joined: Tue Mar 30, 2010 10:36 pm

Plugin editing permissions error?

Post 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?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugin editing permissions error?

Post 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
# 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/
andustar
Posts: 2
Joined: Tue Mar 30, 2010 10:36 pm

Re: Plugin editing permissions error?

Post by andustar »

Cheers, that works! And now the tag names don't break my sidebar, yay!

I did indeed install it through Spartacus.
Post Reply