[00:36] Squirrel, lol [00:53] doctormo: ok, I'm around, I'm going to see if I can break art now ;) [00:59] doctormo: actually, I think I sorted out permissions so you *should* be able to do it, can you give it a try? [00:59] permissions are going to be the concern here, we want it all to still be owned by you, but give www-data access to write (so I made them of the www-data group) [01:38] pleia2: back [01:39] wb :) [01:41] doctormo, do you have time for a small python question? [01:41] DiegoTc: how can I help you? [01:41] doctormo, I am having a little trouble with a for loop in c i can have a for this way [01:42] for(int i=99;i>0;i--) [01:42] i thought that in python it will be this way [01:42] for i in range (10,0): [01:42] but it looks i am wrong :( [01:43] DiegoTc: What is wrong with for i in range(10): ? [01:44] doctormo, I want to print numbers this way 10,9,8,7,6,..... [01:44] no 1,2,3,4,5,6,7,... [01:45] the hack is just to say "for i in range(10): print 10 -i [01:45] but range can do that too [01:46] so how it will be the range way¿? [01:47] DiegoTc: What you need to do is look at the range method, it's range([start=0], stop, [step=1]) [01:48] ohh thanks [01:48] DiegoTc: Which means range(10, 0, -1) will work. Of course we'll never get anything out of range(10, 0) because 10+1 can never get to 0 [01:48] DiegoTc: Remember to get yourself into a python command line (type python at the bash shell) and do help(method) on anything you need help for. [01:48] q to exit the help [01:49] whoa a little difference from c++ or java [01:49] thanks doctormo [01:50] DiegoTc: Python is more like Perl than C or Java. It's very, very different in how it operates. [01:50] yw [01:50] pleia2: back to you [01:50] I'm munching right now [01:52] ok :) [01:52] well, I think you have the permission to do what you need now [01:52] so if you want to give it a go - all yours! [01:56] pleia2: aye aye [01:56] thanks skipper [01:57] sure, just let me know if you have any trouble, I'll be around this evening [02:02] hey lyz [02:03] evening, zkriesse_ [02:03] how are ya? [02:06] doing good, busy as always, you? [02:07] the same [02:08] college, job hunting, multiple ubuntu projects [02:56] pleia2: dagoba doesn't have bzip2 support? [03:00] I'll install it, sec [03:01] doctormo: installed [03:05] pleia2: Thanks! ok so the permissions are a bit off kilter, most files are owned by www-data user and doctormo group, so some directories don't have a writer permission for group. [03:05] I thought it would have been the other way round [03:06] yeah that's weird, it's the opposite of what it was [03:06] kinda [03:07] just gave group write to content/ [03:07] everything else you should have access to, I think [03:08] doctormo: you should be able to look in htdocs.bak to see what the permissions were earlier today before I gave your user permissions, that might give you a clue as to why it's wonky [03:09] pleia2: It was htdocs/art_files/images that had the problem [03:10] And it's weird because the contents are 777 [03:10] ok, group has write now [03:11] pleia2: Ah the content directory can be given to www-data user and group if you like, it's not in the repository. up to you of course. [03:12] ok [03:13] having ccadmin/ there is confusing the live site [03:13] I think [03:15] pleia2: OK we're set, we just need a cronjob, do you want that to run as my user? [03:16] yeah [03:16] and yay! :) [03:20] OK set to 2:05 each morning to do a bzr pull. [03:20] great [05:39] doctormo: Is that for ubuntu-owl or one of the other sites? [05:40] it's art.ubuntu-owl.org [05:40] pleia2: Think we should setup a similar cronjob for ubuntu-owl ? [05:40] probably :)