Advertisement:

Author Topic: FTP file permissions - some files are not owned by me  (Read 4533 times)

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,279
  • Gender: Male
    • cmblaber on LinkedIn
FTP file permissions - some files are not owned by me
« on: April 09, 2008, 05:54:30 PM »
Iv been looking around for something for a while. Sometimes former mods, themes, and other things cannot be removed from FTP because its not owned by you. This means you cant delete those file(s) or folder(s). I was wondering if anyone knew a program or script that could change the permissions of these files if there is a way. I'm not so sure there is.
Colin B
Former Spammer, Customize, & Support Team Member

Offline redone

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,939
  • Gender: Male
Re: FTP file permissions - some files are not owned by me
« Reply #1 on: April 09, 2008, 06:13:09 PM »
Easiest way is to get a hold of your host assuming your on a shared server.


Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: FTP file permissions - some files are not owned by me
« Reply #2 on: April 14, 2008, 05:56:43 AM »
You can try the Fix Ownership tool in the Package Manager sticky by [Unknown] or get your host to CHOWN all your files to your correct account details.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Offline H

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,662
  • Gender: Male
Re: FTP file permissions - some files are not owned by me
« Reply #3 on: April 14, 2008, 06:21:24 AM »
The fix ownership tool often works. If that fails then there is nothing you or SMF can do and you'll have to contact your host :)
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Offline Aleksi "Lex" Kilpinen

  • A Peculiar Finn
  • Lead Support Specialist
  • SMF Super Hero
  • *
  • Posts: 18,691
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • LexArma on GitHub
    • aleksi-kilpinen on LinkedIn
    • There's No Place Like 127.0.0.1
Re: FTP file permissions - some files are not owned by me
« Reply #4 on: April 14, 2008, 06:39:23 AM »
Easiest way is to get a hold of your host assuming your on a shared server.

I have found that the easiest way in my case is actually using the "Cleanup Permissions" -option in package manager to make all files writable. It does not change ownership, but it does allow me to move or delete the files, if they were owned by the server.
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.
  Fooling around with an i7 990X @ 3,47Ghz / 12Gb / Win 10 x64 / 3840x2160


How you can help SMF

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: FTP file permissions - some files are not owned by me
« Reply #5 on: April 20, 2008, 08:55:38 PM »
Were you able to fix the ownership issues shadow82x?  You host is also able to at the root level to CHOWN your files to your account.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,279
  • Gender: Male
    • cmblaber on LinkedIn
Re: FTP file permissions - some files are not owned by me
« Reply #6 on: April 20, 2008, 08:58:00 PM »
Were you able to fix the ownership issues shadow82x?  You host is also able to at the root level to CHOWN your files to your account.
Kind of but not really because I use SFTP. Which is unsupported by SMF. I asked my host to delete them and he did but I'm sure ill do something stupid in the future that will cause files not owned by me. For now its solved. I was just looking for some type of tool but I see most are not supported using SFTP... :)
Colin B
Former Spammer, Customize, & Support Team Member

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: FTP file permissions - some files are not owned by me
« Reply #7 on: April 20, 2008, 09:42:56 PM »
The Fix Ownership server side tool in the Package Manager sticky by [Unknown] wasn't helpful in fixing your ownership issues?
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,279
  • Gender: Male
    • cmblaber on LinkedIn
Re: FTP file permissions - some files are not owned by me
« Reply #8 on: April 20, 2008, 09:44:57 PM »
The Fix Ownership server side tool in the Package Manager sticky by [Unknown] wasn't helpful in fixing your ownership issues?
It would be if I used FTP but I use something called SFTP which SMF does not support.

See: http://www.simplemachines.org/community/index.php?topic=220362.0
Colin B
Former Spammer, Customize, & Support Team Member

Offline Rumbaar

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,805
  • Gender: Male
  • Inherent Omniscience
    • Rumbaar.net
Re: FTP file permissions - some files are not owned by me
« Reply #9 on: April 20, 2008, 09:52:37 PM »
Ah sorry, I hadn't really looked into the inter workings of the tool.  Looks like your only option if this happens again is to get your HOST to perform the same action as CHOWN on your files.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Offline shadow82x

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,279
  • Gender: Male
    • cmblaber on LinkedIn
Re: FTP file permissions - some files are not owned by me
« Reply #10 on: April 20, 2008, 09:59:00 PM »
Ah sorry, I hadn't really looked into the inter workings of the tool.  Looks like your only option if this happens again is to get your HOST to perform the same action as CHOWN on your files.
Yeah thats a bummer. Luckily my host is my brother and we own a few dedicated servers so its not too hard to fix it. ;)
Colin B
Former Spammer, Customize, & Support Team Member