Advertisement:

Author Topic: File Permissions messing up...  (Read 1904 times)

Offline m3talc0re

  • Full Member
  • ***
  • Posts: 630
  • Gender: Male
  • Life Sux, use hax, lol.
File Permissions messing up...
« on: April 28, 2008, 09:06:11 PM »
In 1.1.x, on some servers, if you create a new theme (or even existing themes sometimes), you have to go to Packages > Options and change the permissions for all files to be writable, otherwise you can't overwrite images and such when working on a theme.

In 2.x, I have tried to do this same thing because of the same problem. However, with 2.x, it's not actually working. I can't delete the "images" directory in a newly created theme. I tried all of the options in the AdminCP on the File Permissions and I tried in my FTP client. Nothing I do will work. What gives?
The real hell is your life gone wrong.

Offline Justyne

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 1,414
Re: File Permissions messing up...
« Reply #1 on: April 29, 2008, 02:17:35 AM »
I had something similar happen to me once on my server. My host had changed some permissions and suddenly files created by SMF could not be deleted anymore due to a linux permission thing. I don't know if you have the same problem, but maybe you can ask your host if he can delete it?

And if this method of installation doesn't work for you, you can always upload the theme files first and then install from a directory.
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better.

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: File Permissions messing up...
« Reply #2 on: May 05, 2008, 06:52:15 AM »
Yes, for some reason the file is owned by someone other than your main account.  Probably php, you'll need CHOWN the files to your account.  This will probably need to be done by your host.

Not sure if the Fix Ownership tool will work for 2.*, but it should (from the Package Manager sticky).
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]