Welcome Guest, Not a member yet? Register   Sign In
nobody 99 problem
#1

[eluser]nirbhab[/eluser]
hi guys!

i am facing an very old problem again generally known as 99 or nobody problem.

when we upload any file through http or file uploading script in linux server(hosting provided by other companies, server are only reachable through ftp, http and c-panel.)
file are not owened by any of the users. files are kept with 99 or nobody as a owner.

Than the general ftp user, who's logging through proper username and password is not allowed to make any change to the file.

i think you have got the senerio.
only solution which i have previously is using ftp uploading..........
for which i have to use a secure use of my ftp username and password, which i think not to use. Confusedmirk:

can i have some other solutions?

not attaching any sample code as it won't help me out. As code are doing there work as told to.

note: Don't have access to .htaccess and httpd.conf of apache.
#2

[eluser]CI Lee[/eluser]
I've got 99 problems but ftp ain't one.


Who is your host?
#3

[eluser]ejangi[/eluser]
LOL Badoom-ching!

The only two solutions I can think of are adding stuff to .htaccess or modifying httpd.conf... so I'm already out of ideas. :S
#4

[eluser]nirbhab[/eluser]
i work on multiple domain all have different configurations, so can't stick to one configuration settings.

i am locally using apache 2.2 while most of the real servers are apache 1.0 or newer versions.
Is this mode found in linux servers? NOBODY.
generally this setting is done in httpd.conf file i suppose(httpd.conf far from reach).
In linux server, httpd.conf has User/Group setting for this mode.

can't anybody help!!!! F1. :cheese:
#5

[eluser]esra[/eluser]
The server may be running with safe mode enabled. When a file is uploaded with safe mode enabled, Apache (Nobody) takes ownership of the file. If you upload using FTP, your FTP account will own the file rather than Nobody.
#6

[eluser]nirbhab[/eluser]
thanks esra,
nice explanation, can i have this configurations details, means from in httpd.conf or some other file if my guess is wrong, this safe mode is taken care off by apache.
If i wanna test it my local server what changes i will have to do.

hi, ucantblamem can i have some configuration of .htaccess or httpd.conf, if i wanna test it on my local server.
#7

[eluser]esra[/eluser]
safe_mode is a deprecated php.ini configuration directive. There are a number of directives with 'safe_mode' in the name grouped together within the php.ini. You need to read the PHP manual to get a full explanation. Here is a thread that explains some issues.

http://forums.digitalpoint.com/showthread.php?t=916

Hacks were created for the Mambo and Joomla CMS applications to workaround problems where users did not have access to their php.ini file. You might do some reasearch on those support sites to see how PHP code was written to circumvent the problem.




Theme © iAndrew 2016 - Forum software by © MyBB