Safe mode disabling in Fedora

Troubleshooting with your custom scripts/programs installed on Polarhome.

Moderator: Moderators

Safe mode disabling in Fedora

Postby ateivis_redhat » Mon Jun 06, 2005 4:51 pm

Sorry for disturbing you. I know that Fedora is far from "ready", but could you disable safe mode on it, cause much of php scripts with fopen() and etc. are not working properly. Thanks. I hope that it won't be too much incovenient to do this.
ateivis_redhat
Newbie
 
Posts: 6
Joined: Sun May 22, 2005 10:29 am

Postby miker_alpha » Mon Jun 06, 2005 5:32 pm

Sorry, safe mode is off :cry: by design on Polarhome hosts.

Learn to live with it...

MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby afonic » Mon Jun 06, 2005 7:22 pm

What miker meant is that safe_mod is enabled (not off :) ) in all Polarhome boxes for security reasons, therefore it is not happening in Fedora because it's new. After all safe mod is disabled by default in php config.
User avatar
afonic
Forum Admin
Forum Admin
 
Posts: 686
Joined: Tue Oct 14, 2003 11:11 pm
Location: Salonica, Greece

Postby ateivis_redhat » Tue Jun 07, 2005 8:12 am

Ok, but i use fopen and similar commands in my local directory for opening txt files (posts and etc.), not anywhere else. I thought that might be because of permissions, so I've tried to change it through ftp (using tcmd), but I've got a strange error - smth. similar to cannot change permissions on remote host. :?: I am owner, so how it could be. Now I am thinking about, that could be a reason why fopen is not working.
ateivis_redhat
Newbie
 
Posts: 6
Joined: Sun May 22, 2005 10:29 am

Postby miker_alpha » Wed Jun 08, 2005 5:47 pm

First: Sorry I mixed up 'on' and 'off' in my previous post /hides head in shame...

OTOH whatever you try, succeed or fail to do in FTP has nothing to do with safe mode. That affects PHP *only*.

Perhaps try using the 'quote' command in FTP?

MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby ateivis_redhat » Wed Jun 08, 2005 8:11 pm

Sorry. I was so desperate when it refused to work and when i tried chmod some files or delete them which were not working, i've got this error which i've mentioned above. I have no idea, why it goes that way (it was running so smoothly ;] before partitions were damaged and upgrade to fedora was made). I am not so stupid to associate safe_mode and ftp fault, but i think that both their flaws are consequences of corrupted my files attributes within the server.

P.S. Finally, even error was popping up 9 of 10 times, i've seized the opportunity and managed to delete some files. :wink:

If you think that i've imagined this error, i have some screenshots at my home computer. So if you need it i can post it.
ateivis_redhat
Newbie
 
Posts: 6
Joined: Sun May 22, 2005 10:29 am

Postby Matej » Thu Jun 09, 2005 12:00 am

We have to face it. Redhat/Fedora is not in the best shape right now.

It's quite possible that your files got corupted or deleted. If you have backups you should try and replace the files.
User avatar
Matej
Forum Admin
Forum Admin
 
Posts: 365
Joined: Sun Sep 29, 2002 12:28 am
Location: Ljubljana, Slovenia

Postby ateivis_redhat » Thu Jun 09, 2005 7:22 am

Thanks everybody for info. :)
Matej said:
If you have backups you should try and replace the files.

I'm just trying to do it.
ateivis_redhat
Newbie
 
Posts: 6
Joined: Sun May 22, 2005 10:29 am

Postby SiNGLeLord » Thu Jun 09, 2005 4:01 pm

Ateivis, maybe try writting to support@polarhome.com and ask zoli to delete your files (or change permissions)
-- Tebunie sviesa! - pasake Bushas ir paspaude raudona mygtuka. (It's some kind of joke)
SiNGLeLord
Advanced Member
 
Posts: 72
Joined: Sun Apr 11, 2004 2:31 am
Location: Lithuania

Postby ateivis_redhat » Mon Jun 13, 2005 4:07 pm

In Lithuanian: Man pavyko juos istrinti rankiniu budu.
In English: I've have managed to delete it manually.
ateivis_redhat
Newbie
 
Posts: 6
Joined: Sun May 22, 2005 10:29 am


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 14 guests