FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: faethin on April 21, 2006, 04:21:11 PM

Title: deleting files error
Post by: faethin on April 21, 2006, 04:21:11 PM
I get an error when i try deleting specific things...

(/fpgs/fpgshttpd/****/****/deleteme/pics/thumbnail_random/image0.jpg) [function.unlink]: Permission denied in /home/admin/system.freepgs.com/phpfm/incl/functions.inc.php on line 22

happens on this and some other itmes when i try editing them... very annoying
any ideas?
Title: Re: deleting files error
Post by: admin on April 23, 2006, 06:42:14 AM
This will occur if you used a script to create the file.

You must use a script to remove the file.

Use unlink() or chmod() via a PHP script file.

You can also use the Contact Form and request to have all of your files chown'd back to the correct username.

Thank you,
FreePgs.com Admin
Title: Re: deleting files error
Post by: 408SQN on April 23, 2006, 11:59:36 AM
Hi Admin folk,

I'm having the same trouble, and yes it is with files created by a script. Can't CHMOD either.

Can you give an example of a script to delete the files..... I'm worried about experimenting and deleting the whole site!

Thanks.
Title: Re: deleting files error
Post by: admin on April 26, 2006, 11:51:41 PM
If you create a file with a script, it can only be chmod'd via a script due to the different ownership of the files.

You can also send a Contact request (logged in) and state you need your file ownership reset back to the correct user.

Thank you,
FreePgs.com Admin