Hello Jan,

good news! with wsgi we made it work. i can now upload diff for
checkouted file! many thanks for your great help.

now i need to get back to my --tracking option question. i got error
for cleartool get. i am pretty sure it is because it is trying to get
copy of directory, but cleartool get is working only for files.

regards
marcel

2011/7/7 Jan Koprowski <jan.koprow...@gmail.com>:
> marcel,
>
> 2011/7/7 Marcel Skalický <marcel.skali...@gmail.com>:
>> jan,
>>
>> i am not sure what do you mean with "context of one group". does this
>> mean apache must have proper group as its primary?
>
> It is quite complicated. It is not must be primary group but process
> in unix system can be deprived of some groups which could be possible
> in theory because this user is member of this group but they are not
> part of process working in operating system.
>
> I will suggest You to set this by "supplemetary-groups" option in
> mod_wsgi and leave primary group in peace but this option was not
> release yet and will be released with mod_wsgi 4.0.
>
> There is hope changing primary group for mod_wsgi application helps.
>
>> i have found in reviewboard server logs it can see size of diff.
>
> I do not have idea what does it mean. Is this diff very big? You can
> try do something very simple and send something small using
>
> post-review 
> --revision-range="vobs/vob/file.c@@/main/5;vobs/vob/file.c@@/main/6"
> and check it works or not.
>
>> i think there is standard cgi used. i will focus on this tomorrow. it
>> seems like loaded friday...
>
> Standard CGI should have option to change group too but by default
> this group is inherited from Apache process as far as i know.
>
> Good luck!
> --
> Jan
>
>> -- marcel
>>
>> 2011/7/7 Jan Koprowski <jan.koprow...@gmail.com>:
>>> marcel,
>>>
>>>  It is good news: path is good, and www-user can read it but Apache
>>> or Python can't.
>>> As far as I know Apache server process run only in context of one
>>> group - not more.
>>>
>>> Did You restart Apache server after You add appropriate groups to
>>> www-user? I am only checking :)
>>>
>>> I hope You are using mod_wsgi because it looks like this can be the
>>> only way to run clearcase properly.
>>> There is 
>>> http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIDaemonProcess
>>> property which allow you to choose different user and different group
>>> for python application run by mod_wsgi. Try to set appropriate group
>>> setting this inside your Review Board VirtualHost. I hope this help.
>>>
>>> Run post-review with --debug option and put whole output - without
>>> this further help can be very hard.
>>>
>>> P.S. Weather is not bad right now but last days it raining all the time.
>>>
>>> Greetings from Poland!
>>> --
>>> Jan
>>>
>>> 2011/7/7 Marcel Skalický <marcel.skali...@gmail.com>:
>>>> hello jan,
>>>>
>>>> i am now off (is there so bloody hot weather in poland too?), but i am
>>>> pretty sure, i already tested all these things except double cat.
>>>>
>>>> apache is added into proper group, cat on long clearcase-like path to file
>>>> works.
>>>>
>>>> now i have an idea, kries did checkout for test.txt file and i think he has
>>>> another primary group... but if cat works... i need to check this tomorrow.
>>>>
>>>> many thanks for now,
>>>> marcelmarcel
>>>>
>>>> Dne 7.7.2011 18:35 "Jan Koprowski" <jan.koprow...@gmail.com> napsal(a):
>>>>
>>>> --
>>>> Want to help the Review Board project? Donate today at
>>>> http://www.reviewboard.org/donate/
>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>> -~----------~----~----~----~------~----~------~--~---
>>>> To unsubscribe from this group, send email to
>>>> reviewboard+unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/reviewboard?hl=en
>>>
>>>
>>>
>>> --
>>>><> Jan Koprowski
>>>
>>> --
>>> Want to help the Review Board project? Donate today at 
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~----------~----~----~----~------~----~------~--~---
>>> To unsubscribe from this group, send email to 
>>> reviewboard+unsubscr...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/reviewboard?hl=en
>>
>> --
>> Want to help the Review Board project? Donate today at 
>> http://www.reviewboard.org/donate/
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> -~----------~----~----~----~------~----~------~--~---
>> To unsubscribe from this group, send email to 
>> reviewboard+unsubscr...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/reviewboard?hl=en
>
>
>
> --
>><> Jan Koprowski
>
> --
> Want to help the Review Board project? Donate today at 
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~----------~----~----~----~------~----~------~--~---
> To unsubscribe from this group, send email to 
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to