Advertisement:

Author Topic: I can't delete a theme via FTP - "Permission denied"  (Read 2336 times)

Offline Frundaba

  • Semi-Newbie
  • *
  • Posts: 45
I can't delete a theme via FTP - "Permission denied"
« on: May 31, 2008, 12:09:55 AM »
So Installed SMF and played around a little.

Using SMF admin interface I made a copy of the default theme so I could modify it.

Now I decide to delete SMF and related files from my hosting account.

Everything could delete just fine, except for the copy of that theme.

Folder is named theme1.

I tried using smartFTP to delete it but keep getting "Permission denied".

I'm hosting with nearlyfreespeech, which I don't think has anything like cpanel.  I think my only access is via FTP.

Any suggestions?

--------------------------------

Just an update... the problem seems to be with the images folder.

I could delete other files and folders in the theme, but not the images folder or it's contents. Still can't delete the parent directories, theme1 and Themes.

« Last Edit: May 31, 2008, 01:51:28 AM by Frundaba »

Offline brianjw

  • SMF Hero
  • ******
  • Posts: 2,154
  • Gender: Male
Re: I can't delete a theme via FTP - "Permission denied"
« Reply #1 on: May 31, 2008, 12:05:50 PM »
CHMOD that directory /images/ to 777 or 755. Then try to delete. If still having problems, contact your host.

Offline Frundaba

  • Semi-Newbie
  • *
  • Posts: 45
Re: I can't delete a theme via FTP - "Permission denied"
« Reply #2 on: May 31, 2008, 11:32:43 PM »
I couldn't CHMOD either...kept getting permmission denied.

I contacted my host and they gave me permmissions back.  Problem solved.

To anyone else... you may want to avoid making copies of themes directly in admin interface.  Instead, just upload a copy directly through FTP client and then install.

Offline greyknight17

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,890
  • Gender: Male
    • Kevin's Resource Center
Re: I can't delete a theme via FTP - "Permission denied"
« Reply #3 on: May 31, 2008, 11:39:41 PM »
I think it's the webhost you have there. The folder permissions might not be set to you as owner.

Topic marked as solved.

Offline greyknight17

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,890
  • Gender: Male
    • Kevin's Resource Center
Re: I can't delete a theme via FTP - "Permission denied"
« Reply #4 on: June 01, 2008, 10:38:00 AM »
Yep, it's the ownership rights. Once they grant you as the owner of the folders, you can delete them. Do you know if this is on a Windows server?

Offline Frundaba

  • Semi-Newbie
  • *
  • Posts: 45
Re: I can't delete a theme via FTP - "Permission denied"
« Reply #5 on: June 01, 2008, 11:52:22 PM »
>>>Once they grant you as the owner of the folders, you can delete them.

Yep... as I said, problem solved  :)

>>>Do you know if this is on a Windows server?

I think they're running FreeBSD.

Offline BURN3R

  • Newbie
  • *
  • Posts: 5
  • Gender: Male
Re: I can't delete a theme via FTP - "Permission denied"
« Reply #6 on: July 04, 2008, 05:09:06 PM »
I'm having this same problem, I'm just wondering if the script can create the files, shouldn't it also be able to delete them?
I tried deleting my copy of default from within SMF and all the files remained in place aswell.

Is there a solution other than contacting my host?