Page 2 of 2

Re: Spartacus and its files owned by "nobody"

Posted: Wed Aug 26, 2009 8:33 pm
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

Re: Spartacus and its files owned by "nobody"

Posted: Thu Aug 27, 2009 9:51 am
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

Re: Spartacus and its files owned by "nobody"

Posted: Thu Aug 27, 2009 10:14 am
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?

Re: Spartacus and its files owned by "nobody"

Posted: Thu Aug 27, 2009 1:01 pm
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