Spartacus and its files owned by "nobody"

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
3nd3r
Regular
Posts: 71
Joined: Tue Aug 19, 2008 12:58 pm
Location: NeoMadrid, Spain
Contact:

Re: Spartacus and its files owned by "nobody"

Post by 3nd3r »

Replaced. This is the browser output:

Code: Select all

Array ( [0] => 2056 [1] => 4263962 [2] => 33188 [3] => 1 [4] => 99 [5] => 99 [6] => 0 [7] => 3 [8] => 1251305483 [9] => 1251311449 [10] => 1251311449 [11] => 4096 [12] => 8 [dev] => 2056 [ino] => 4263962 [mode] => 33188 [nlink] => 1 [uid] => 99 [gid] => 99 [rdev] => 0 [size] => 3 [atime] => 1251305483 [mtime] => 1251311449 [ctime] => 1251311449 [blksize] => 4096 [blocks] => 8 ) 

Warning: chown() [function.chown]: Operation not permitted in /home/pajareo/public_html/test.php on line 8
Array ( [0] => 2056 [1] => 4263962 [2] => 33188 [3] => 1 [4] => 99 [5] => 99 [6] => 0 [7] => 3 [8] => 1251305483 [9] => 1251311449 [10] => 1251311449 [11] => 4096 [12] => 8 [dev] => 2056 [ino] => 4263962 [mode] => 33188 [nlink] => 1 [uid] => 99 [gid] => 99 [rdev] => 0 [size] => 3 [atime] => 1251305483 [mtime] => 1251311449 [ctime] => 1251311449 [blksize] => 4096 [blocks] => 8 )
And test.log it's the same as before. It has 644 permission and its owner is 99:99
Try not. Do, or do not. There is no try.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Spartacus and its files owned by "nobody"

Post by garvinhicking »

Hi!

As you can see by the error message, your provider DOES in fact block chown().

HTH,
Garvin
3nd3r wrote:Replaced. This is the browser output:

Code: Select all

Array ( [0] => 2056 [1] => 4263962 [2] => 33188 [3] => 1 [4] => 99 [5] => 99 [6] => 0 [7] => 3 [8] => 1251305483 [9] => 1251311449 [10] => 1251311449 [11] => 4096 [12] => 8 [dev] => 2056 [ino] => 4263962 [mode] => 33188 [nlink] => 1 [uid] => 99 [gid] => 99 [rdev] => 0 [size] => 3 [atime] => 1251305483 [mtime] => 1251311449 [ctime] => 1251311449 [blksize] => 4096 [blocks] => 8 ) 

Warning: chown() [function.chown]: Operation not permitted in /home/pajareo/public_html/test.php on line 8
Array ( [0] => 2056 [1] => 4263962 [2] => 33188 [3] => 1 [4] => 99 [5] => 99 [6] => 0 [7] => 3 [8] => 1251305483 [9] => 1251311449 [10] => 1251311449 [11] => 4096 [12] => 8 [dev] => 2056 [ino] => 4263962 [mode] => 33188 [nlink] => 1 [uid] => 99 [gid] => 99 [rdev] => 0 [size] => 3 [atime] => 1251305483 [mtime] => 1251311449 [ctime] => 1251311449 [blksize] => 4096 [blocks] => 8 )
And test.log it's the same as before. It has 644 permission and its owner is 99:99
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
3nd3r
Regular
Posts: 71
Joined: Tue Aug 19, 2008 12:58 pm
Location: NeoMadrid, Spain
Contact:

Re: Spartacus and its files owned by "nobody"

Post by 3nd3r »

I see. Thanks for enlight.

I'm going to tell it to my provider. Thank you very much for your time.

P.D.: A test like this or similar could be useful when installing s9y or Spartacus, don't you think?
Try not. Do, or do not. There is no try.
3nd3r
Regular
Posts: 71
Joined: Tue Aug 19, 2008 12:58 pm
Location: NeoMadrid, Spain
Contact:

Re: Spartacus and its files owned by "nobody"

Post by 3nd3r »

Ok they told me that the only solution is run PHP as a CGI script, but they say it would be worse...

I have no root permission over my account. They say it's impossible to make me superuser, because I ccould control all server and users.

So, well, I choose the 99:99 777 option better.

Thanks again for your time
Try not. Do, or do not. There is no try.
Post Reply