Advertisement:

Author Topic: Upgrading/Installing packages CHMODs home directory  (Read 2065 times)

Offline cypdevil

  • Semi-Newbie
  • *
  • Posts: 29
Upgrading/Installing packages CHMODs home directory
« on: December 19, 2010, 02:12:47 AM »
It would seem that using any of the installation procedures that ensure all the required files are set to 777 also changes the permissions on the home directory to 777, up the tree. In my case, using an Apache host ISP, the hierarchy is:
.../usr/home/<ID>/public_html/...
The permissions for the directory <ID> are normally set to 705 but it appears that SMF is changing them to 777. My ISP (pair.com) informs me that this is a severe security issue because e-mail becomes readable world-wide. For this reason, the server automatically blocks e-mail if the ID directory is not permitted correctly.

I can't be sure, but I believe this CHMOD of the home directory possibly happens when the installation software asks for the server, ID, password and path or it may be shortly thereafter when it uses these data. This has happened to me several times and I have to ask the ISP to correct the permissions (it apparently can't be done through my FTP client).

If what I say is true, and I have every reason to believe it is, then this appears to be a security breach bug in the installation software. I cannot think of any other reason. Have others experienced similar difficulties?

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,267
Re: Upgrading/Installing packages CHMODs home directory
« Reply #1 on: December 19, 2010, 08:02:56 AM »
smf can not change any file/folder permission for a folder/file that smf is not directly installed. so if you are not putting smf in the <id> folder then smf should not touch it. also smf works fine with permissions set 755 instead of 777.

Offline JimM

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,980
  • Gender: Male
    • Southern Spirit Hunters
Re: Upgrading/Installing packages CHMODs home directory
« Reply #2 on: January 02, 2011, 01:26:26 PM »
Is this issue solved or do you still require assistance?  SMF will not change file/folder permissions as you described.  Instead it does it exactly as Illori stated.
Jim "JimM" Moore
Former Support Specialist

Please do not PM me for support!                   
Installing SMF
Upgrade SMF
Manual Installation of Mods

Offline cypdevil

  • Semi-Newbie
  • *
  • Posts: 29
Re: Upgrading/Installing packages CHMODs home directory
« Reply #3 on: January 03, 2011, 01:52:26 AM »
so if you are not putting smf in the <id> folder then smf should not touch it.

But it does! I'm sorry, it is repeatable and demonstrable at any time with this particular server (ISP?), who accepts no responsibility, saying it is only SMF (and, in my experience, of over 100 apps installed, this is so) that causes the problem. How, I cannot say, but it does. Snoopy has seen a part of it, as he tried, unsuccessfully, to set a mod up on my computer, using TeamViewer. He was as flummoxed as I.

I have installed everything on a different ISP with an Apache server without this problem appearing.

So, the issue remains unsolved but I'm no longer pursuing it as my workaround is to use a different ISP, which is now nearly ready to go on line.


Offline Baby Daisy

  • Jr. Member
  • **
  • Posts: 350
  • Gender: Female
Re: Upgrading/Installing packages CHMODs home directory
« Reply #4 on: January 04, 2011, 08:27:51 PM »
I will mark this as solved as you are no longer pursuing a solution.
あなたは私のお尻にキスするとき、私はそれを愛する