Welcome, Guest. Please login or register.

ShoutBox!

 

Skhilled

2024-08-09, 18:19:29
Awww! Poor thing! LOL
 

Ken

2024-08-09, 09:20:52
 

Skhilled

2024-07-06, 10:33:18
 :D
 

Ken

2024-07-06, 06:40:47
Happy Saturday after the 4th of July!
 :fireworks:
 

Skhilled

2024-07-04, 20:27:02
Happy Day Off From Work!  :D
 

Ken

2024-06-25, 06:23:12
84... who knew?  laughing7
...2013 was my *magic* year
 

Skhilled

2024-06-14, 22:09:12
I hope so! LOL
 

Ken

2024-06-14, 21:41:30
My B-Day is forthcoming and maybe it will be far enough along so that I can be a regular Dancing Fool for that day!!! :banana: :2funny:
 

Ken

2024-06-14, 21:38:38
Happy Friday everyone! I'm  SOOO glad to see Friday and not just because it's the weekend, but because it marks one more day in the recovery of my foot!  laughing7

Scrubmeister

2024-04-19, 10:32:40
Good to see the site back faster than ever. :)

Recent Topics

TP Articles


Search in titles
Search in article texts

Author Topic: File Ownership Issues.  (Read 3080 times)

0 Members and 2 Guests are viewing this topic.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11936
  • Gender: Male
  • View Gallery
File Ownership Issues.
« on: April 16, 2011, 03:45:23 PM »
The old 'file ownership' issue has popped up again, just tried to change out the logo for Pandora and the system blocked me.  :cry2:

Sent in a support ticket to Frank, hopefully he will sort it out soon.  :bigthumb:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11936
  • Gender: Male
  • View Gallery
Re: File Ownership Issues.
« Reply #1 on: April 16, 2011, 05:22:34 PM »
Fixed!  :danban:


Frank works fast.  :2thumbs:
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Online Skhilled

  • Administrator
  • *
  • Posts: 9421
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: File Ownership Issues.
« Reply #2 on: April 16, 2011, 05:36:56 PM »
That is because your server using 777 permissions for files and folders so you will have chown issues:

http://wiki.smfarcade.info/SMF_Arcade/FAQ#File_Permission_Issues_-_chmod.2Fchown

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11936
  • Gender: Male
  • View Gallery
Re: File Ownership Issues.
« Reply #3 on: April 16, 2011, 05:48:01 PM »
The old servers were set at 755, but he has just changed us to new servers... don't know what he setting is now.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Online Skhilled

  • Administrator
  • *
  • Posts: 9421
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: File Ownership Issues.
« Reply #4 on: April 16, 2011, 05:56:34 PM »
Has to be 777. 755 server do not have chown issues...only 777 do. 755 server have chmod (file/folder permission) issues. If he can give you ssh access you can fix those yourself with one command for folders and one for files...if you were on a 755 server. Takes only 2-3 minutes.

But since you are on 777 you will "usually" not have permission issues and will only have ownership issues. :P It's a trade-off but I'd rather have 755...can fix it myself very easily and faster. :)

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11936
  • Gender: Male
  • View Gallery
Re: File Ownership Issues.
« Reply #5 on: April 16, 2011, 07:12:37 PM »
It was actually having both issues... I think?

I could not change the chmod settings plus the system would not let me change, edit or replace files.
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.

Online Skhilled

  • Administrator
  • *
  • Posts: 9421
  • Gender: Male
  • All of my passwords are protected by amnesia...
  • View Gallery
    • Buildz Hosting
Re: File Ownership Issues.
« Reply #6 on: April 17, 2011, 05:11:03 AM »
When you have ownership issues you cannot change permissions or move files or much anything else. Linux has strict permissions for folders and files as well as programs, etc. When you lose ownership it sets to "nobody" which means no one owns it. Even root (admin) cannot use it but can change the permissions to enable users to use it including themselves. You must to have root access or get someone that has it (your hosting) to do it for you each and every time. 777 servers are not user-friendly for those who do a lot of testing, installing/uninstalling, etc. The reason is that you have to ask your hosting and wait on them to do it each and every time you do something. This is frustrating to the hosting as well as yourself and is probably the number one reason why people change hosting. They blame the hosting for this when it is not really their fault.

777 servers are also not "generally" more secure as 755 ones, although some will beg to differ. 777 servers have to beef up security and 777 means full access to the files and folders while 755 is more strict and does not allow full access. If a 777 server gets hacked, the hacker can "theoretically" gain access to ALL of your folders and files. Using 7555, will only "generally" give them access to the folder and files where they gained access. This means the all of your folders/files will usually not be compromised...only a portion of them.

Why/how does this happen? I have no freakin' idea!  :2funny: I've never bothered to look it up cause I've never gone that far using a linux server, root-wise. You can't do anything about it if you are not root anyways and I doubt you can even if you are root (not too sure about the last and need to do more digging). This is also why I prefer 755 permission servers. The biggest problem is chown (permissions) which can be easily changed yourself via ssh (really fast, a few seconds, one command for folders and one for files) or ftp (very slow and tedious). SSH doesn't make sense to use on a 777 server cause they will only give you a "jailed" ssh account which means limited access...can move files, etc. but cannot chown which is a root command. In other words, you will not be able to change ownership anyways.  :thud:

If you are using 777 servers and do not lose ownership you do not have to worry about permissions as they will automatically change to the correct ones, most of the time and if the folder/files do not have chown issues.

If you are using 755 servers you will always have to change permissions and should do it before installing or uninstalling any mods. Otherwise, something may not have the correct permissions to be edited corrected by smf when installing/uninstalling mods.

Lesson over...time for a pop quiz!!!

Offline Ken (OP)

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 11936
  • Gender: Male
  • View Gallery
Re: File Ownership Issues.
« Reply #7 on: April 17, 2011, 06:14:11 AM »

Lesson over...time for a pop quiz!!!

[spoiler] :yikes:[/spoiler]
"Not all who wander are lost."-Tolkien
Yesterday When I was Young.