20:03 <popey> #startmeeting File Manager meeting 20:03 <meetingology> Meeting started Tue Feb 17 20:03:09 2015 UTC. The chair is popey. Information about MeetBot at http://wiki.ubuntu.com/meetingology. 20:03 <meetingology> 20:03 <meetingology> Available commands: action commands idea info link nick 20:03 <popey> How you all doing? 20:03 <Letozaf_> Hello everyone 20:03 <ajalkane> hello popey and everyone 20:03 <CarlosMazieri> Hello all 20:03 <Letozaf_> I'm fine and you? 20:03 <ajalkane> Fine... I see there's some reviewing work for tars to do, I can do it while we meet :P 20:04 <popey> Excellent. 20:06 <ajalkane> Looked good to me, approved it 20:06 <ajalkane> was there anything else I've missed? 20:06 <popey> https://code.launchpad.net/~ajalkane/ubuntu-filemanager-app/more-recognized-music-files/+merge/249381 from you ? :) 20:06 <ajalkane> It'd be presumptious of me to approve that... :P 20:07 <popey> hah, yeah, was kind hinting to CarlosMazieri :) 20:07 <ajalkane> umm... interesting, it's not linked to the bug report. I'll try again, I'm sure I had done that before 20:07 <CarlosMazieri> I can approve that 20:08 <CarlosMazieri> approved. 20:09 <ajalkane> So it's been already an awesome touch-meeting 20:09 <ajalkane> My mouth is burning and I'm protusely sweating and branches are being merged. What a life. 20:10 <popey> What a time to be alive, indeed. 20:10 <popey> Once those land I'll do an update to the store. 20:11 <ajalkane> Great 20:12 <popey> Anything else we need to discuss for now? 20:12 <ajalkane> Well... do you have opinion on this: 20:12 <Letozaf_> popey, I have a question too 20:13 <popey> Super! 20:13 <popey> go for it 20:13 <Letozaf_> popey, I was writing a test fot testing SDCard but when I try to mount and image of an SDCard on /media/$USER/SDcard I get PermissionError: 20:13 <Letozaf_> [Errno 13] Permission denied: '/media/letozaf/SDCard' mount: only root can use "--options" option is there a way to mount_point 20:13 <Letozaf_> the image as root or using sudo or whatever ? 20:13 <Letozaf_> someone has suggestions on how to mount the image ? 20:14 <popey> it's a file? a loopback image? 20:14 <ajalkane> https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/1413821 20:14 <popey> yeah, only root can mount those, so it would need sudo. 20:14 <popey> (I think) 20:14 <Letozaf_> popey, I created a image file of an SDCard using dd and wanted to mount it for testing 20:14 <popey> ah okay, yes. you would need sudo 20:14 <ajalkane> popey: I gathered that bug is impossible to solve in FileManager and is something that must be addressed in Content-Hub. If you know otherwise, let us know 20:14 * popey looks 20:15 <popey> Letozaf_: are you able/allowed to use sudo in tests? 20:15 <Letozaf_> popey, that's the question :P do not known 20:15 <Letozaf_> know 20:15 <Letozaf_> should I ask balloons ? 20:15 <Letozaf_> popey, never used sudo as I can recall on autopilot tests 20:15 <ajalkane> You can mount directories. But to mount them under /media/whatever/ you need sudo. You don't need an image as such 20:16 <popey> ajalkane: i think you're right, about that bug. 20:16 <balloons> sudo would be nice to avoid.. what's up? 20:16 <Letozaf_> ajalkane, but in autopilot tests how do you use sudo, never used it before ? 20:16 <Letozaf_> balloons, hello 20:17 <Letozaf_> :D 20:17 <popey> balloons: for the sdcard test Letozaf_ has an image of an sd card 20:17 <popey> which to mount -o loop, requires root 20:17 <ajalkane> Letozaf_: unfortunately I don't know... 20:17 <popey> (I think) 20:17 <CarlosMazieri> agree 20:18 <Letozaf_> balloons, if you try to mount an image of SDCard made using dd under '/media/letozaf/SDCard' you need root privilidges 20:18 <Letozaf_> mount: only root can use "--options" option 20:18 <Letozaf_> balloons, how do you do that in autopilot, or how can I mount it if I cannot use sudo 20:20 <balloons> Letozaf_, popey so this is for a desktop test? 20:20 <popey> balloons: well we need to test sd card mounting and the way it's presented in the file manager ui 20:20 <Letozaf_> balloons, I think this would be the same on desktop and device, 20:21 <Letozaf_> balloons, if you insert an SDcard on device I suppose it get's mounted /media/$USER/SDcard 20:21 <balloons> right; so apart from actually inserting an sdcard during the test :-), you need some fakery 20:22 <Letozaf_> balloons, I was trying :http://paste.ubuntu.com/10278813/ 20:22 <balloons> ok, so I understand. I don't think I have any easy answers offhand. 20:23 <ajalkane> that's good, if it means good answers are then onhand 20:23 <balloons> I do know so AP tests might run as root; need to check with qa on that. sudo however is out 20:23 <balloons> aka, you would just write the test assuming you are root 20:24 <Letozaf_> balloons, running the test gives this error: File "/home/letozaf/autopilot-tests/ubuntu-filemanager-app/tests/autopilot/filemanager/__init__.py", line 258, in mount_sdcard 20:24 <Letozaf_> os.mkdir(mount_point) 20:24 <Letozaf_> PermissionError: [Errno 13] Permission denied: '/media/letozaf/SDCard' 20:24 <Letozaf_> mount: only root can use "--options" option 20:24 <Letozaf_> balloons, so I am not root :) 20:26 <balloons> Letozaf_, certainly not. My thoughts would be to try and avoid needing root altogether 20:27 <balloons> I'm wondering about umockdev and fuse atm 20:27 <balloons> and as I said, I'm wondering if someone else solved this already. Either way, good fun to be had 20:27 <Letozaf_> balloons, you know I like "having fun" :-P 20:28 <popey> heh 20:28 <popey> shall we leave that one with you two? 20:28 <Letozaf_> popey, I was referring to autopilot tests LOL 20:28 <balloons> yes popey I think it's as far as it can go for now 20:28 <popey> haha 20:28 <popey> I didn't mean it like that! :D 20:28 <balloons> oOOo 20:28 <popey> oh blimey 20:28 <Letozaf_> LOL 20:29 <balloons> . . . . derailed . . . 20:29 <popey> I stupidly googled 'autopilot test sdcard mount' 20:29 <popey> first hit https://bugs.launchpad.net/ubuntu-filemanager-app/+bug/1406988 20:29 <Letozaf_> balloons, LOL I was just saying I have fun solving these kind of problems with balloons LOL 20:29 <ajalkane> Hey, I'm in the internets 20:30 <popey> Ok, anything else before we all explode. 20:30 * balloons wonders if they solved that bug 20:30 <balloons> :p 20:30 <Letozaf_> popey, cool I was looking for that bug 20:30 <Letozaf_> popey, couldn't find it 20:31 <Letozaf_> balloons, I think last time we thought it would be easier to try to mount an SDCard image instead 20:31 <Letozaf_> balloons, but looks like we were wrong 20:32 <balloons> ohh look pitti shot my umockdev idea down in there 20:32 <balloons> brillant 20:32 <Letozaf_> :D 20:33 <popey> :) 20:35 <popey> ok, we done? 20:35 <Letozaf_> I do not have other questions 20:36 <ajalkane> Good for me 20:36 <popey> Super. Thanks guys! 20:36 <popey> #endmeeting