FreePgs.com Forum

FreePgs Related => Support Requests => Topic started by: looie on May 11, 2007, 09:32:52 PM

Title: Can't delete files
Post by: looie on May 11, 2007, 09:32:52 PM
Hi.

I can't delete a folder on my website, because apparently I don't have the right privileges. I've tried SmartFTP which I usually use, but it didn't work, so I tried the online file manager and that wouldn't let me delete them either.

I get the following error "Warning: unlink(/fpgs/fpgshttpd/looie/chat/i18n/fr_FR/admin.php) [function.unlink]: Permission denied in /home/admin/system.freepgs.com/phpfm/incl/functions.inc.php on line 22

Warning: rmdir(/fpgs/fpgshttpd/looie/chat/i18n/fr_FR/) [function.rmdir]: Permission denied in /home/admin/system.freepgs.com/phpfm/incl/functions.inc.php on line 28

Warning: rmdir(/fpgs/fpgshttpd/looie/chat/i18n/) [function.rmdir]: Directory not empty in /home/admin/system.freepgs.com/phpfm/incl/functions.inc.php on line 28
Deleting of folder failed.

This might be caused by insufficient permissions."

The folder permissions are set to 755 - 777 and 0 also don't work.

I don't know what it is.
Title: Re: Can't delete files
Post by: Ben on May 12, 2007, 12:58:59 AM
Quote from another post:

The "Owner" column in net2ftp basically says the owner of the file. Any file marked "501" is a user's file. Almost all of these files can be edited (the main exception being .ftpquota). Any file marked "48" is a PHP created file, and you'd have to use php to change it.
Title: Re: Can't delete files
Post by: looie on May 12, 2007, 02:40:20 PM
I opened fr_FR/admin.php and went to line 22 and it was empty, so I didn't know what to do. Wouldn't matter anyway, I can't replace the files on the server.
Title: Re: Can't delete files
Post by: admin on May 12, 2007, 03:17:15 PM
I have updated the ownership of all files within your account.  You should now be able to modify them.

When files are created by PHP scripts, they must also be modified or removed by PHP scripts as well (or we can chown the files for you)

Thank you,
FreePgs.com Admin
Title: Re: Can't delete files
Post by: looie on May 12, 2007, 05:00:15 PM
Thank you.  :D