[maemo-developers] Installing scratchbox on Fedora 8: PERMISSION PROBLEMS
From: Darren Enns darethehair at gmail.comDate: Thu Oct 23 20:36:40 EEST 2008
- Previous message: Installing scratchbox on Fedora 8: PERMISSION PROBLEMS
- Next message: Maemo-extras and translations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Darren Enns wrote: > Fred wrote: >> Darren Enns a écrit : >>> Fred wrote: >>>> Eero Tamminen a écrit : >>>>> Hi, >>>>> >>>>> ext Darren Enns wrote: >>>>>> Today, I determined to 'once again' try to install 'scratchbox' >>>>>> on my Fedora 8 machine. I have now tried to do so twice today, >>>>>> with the same final disappointing result when trying to run >>>>>> 'python2.5' (after needing to install it with 'apt-get'): >>>>>> >>>>>> [sbox-N800: ~] > python2.5 >>>>>> /scratchbox/tools/bin/misc_runner: /tmp/cputransp_dmenns.log: >>>>>> Permission denied >>>>> Is this file writable by you? >>>>> >>>>> >>>>> - Eero >>>>> _______________________________________________ >>>>> maemo-developers mailing list >>>>> maemo-developers at maemo.org >>>>> https://lists.maemo.org/mailman/listinfo/maemo-developers >>>> Do you have SELinux enabled ? >>>> >>>> Fred >>> Hmmm...no, on my machine 'SELinux' appears to be disabled, but would >>> that even have an effect 'inside' scratchbox while running the 'arm' >>> emulator? >>> >>> Thanks >>> >>> Dare >>> _______________________________________________ >>> maemo-developers mailing list >>> maemo-developers at maemo.org >>> https://lists.maemo.org/mailman/listinfo/maemo-developers >> >> Your error shows a path outside of scratchbox ... >> I know I have a load of hair pulled out because of SELinux so ... >> But if SELinux is disabled ... >> >> Fred > You probably know better than me, but I think that the 'appearance' of > a referral to a path outside scratchbox is just an illusion i.e. > "/scratchbox" doesn't actually exist at the root level on my 'real' > box as this appears. > > It is interesting that on my Debian-based 'scratchbox' environment (on > a different PC), the '/tmp' directory does have different (more > permissive) permissions: > > sbox-CHINOOK_ARMEL: ~ > ls -ld /tmp > drwxrwxrwt 7 root root 4096 Oct 23 12:16 /tmp > > If there were some way for me to *really* sign into scratchbox as > 'root', maybe I could try to repair my Fedora operation. However, I > would imagine that there are lots of other people out there running > scratchbox on Fedora, and can (hopefully) tell me what I have done > wrong (or what they did to fix this). Are you running Fedora > yourself? Can you check your '/tmp' permissions for me? > > Thanks > > Dare > Followup, I decided to 'cheat' to see what I could accomplish: 1) Outside of 'scratchbox', I modified the permissions on my 'tmp' directory: [root at frodo6 dmenns]# chmod 777 /mnt/sda3/maemo/scratchbox/users/dmenns/tmp This then allowed me (inside 'scratchbox', while signed on as a user, to create/modify files inside '/tmp') 2) I then ran into another problem: mmap: permission denied (while trying to run 'python2.5') I found this: http://suppressingfire.livejournal.com/35277.html So, again, outside of 'scratchbox' I did this: echo 4096 | sudo tee /proc/sys/vm/mmap_min_addr This now lets me run 'python2.5'! I don't know if this is the end of my problems, but I am getting further! Dare
- Previous message: Installing scratchbox on Fedora 8: PERMISSION PROBLEMS
- Next message: Maemo-extras and translations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]