Site News :: DSL v4.0



Quote (jpeters @ Oct. 31 2007,14:43)
After upgrading to 4.0, I got permission errors about writing to '.fluxbox/ mydsl.menu' and '/etc/sysconfig/mydsl-installed' when trying to mydsl-load an app (neither file had write privileges). (To solve, I put a chmod script for these files into bootlocal.sh).  The mydsl menu is fine for the programs loading from the mydsl folder.

Obvioulsy not what I experience. So need more information.

Upgarding from what to what (version and install type/edition) , ie. 3.4.5, frugal to 4.0 frugal, or persistent?, or traditional hard drive install?

What is the output of showbootcodes?
What is the output of ~/.desktop?
What is the output of /opt/.mydsl_dir?

What steps did  you to do to upgrade?

How was mydsl-load used?
As root from /opt/bootlocal.sh?
From cli as user dsl?
From GUI download tool?
From Browser?
From a mydsl directory on boot device?
What is the permissions on the mydsl folder?
What filesystem type is supporting boot image?, mydsl folder?
What extensions first showed this behaviour?

I did a 3.4.5 (? the last one) to 4.0 grub install, which I did as an update from the gui using update (after loading from CD with 'norestore'), and then copied over some files from the oldbackup (don't think I copied over  .fluxbox/mydsl.menu, but possible...at any rate, it boots up without write privileges).  

      -rw-rw-r--    1 dsl      staff          21 Oct 27 15:11 ./.deskto
      -rw-rw-r--    1 dsl      staff          16 Oct 31 15:52 /opt/.mydsl_dir                     -rw-r--r--    1 root     root          880 Oct 31 17:55 ./.fluxbox/mydsl.menu
      -rw-r--r--    1 root     root           92 Oct 31 15:52 /etc/sysconfig/mydsl-installed
       
       
      Same problem from aterm or gui with any extensions (e.g.,amaya.uci, open
       office*.uci....)  Extensions are stored on persistent drive, hda3, and loaded from there. No problem with files loaded from the mydsl folder.
     
      /mnt/hda3/mydsl:
     drwxr-xr-x    1 dsl      staff          24 Oct 31 15:52 MyDSL
     
     
        Device Boot    Start       End    Blocks   Id  System
     /dev/hda1             1        10     80293+  83  Linux
     /dev/hda2            11        72    498015   82  Linux swap
     /dev/hda3            98      2432  18755887+  83  Linux
     /dev/hda4   *        73        97    200812+  83  Linux

root=/dev/hda4 quiet vga=795 acpi=off  noscsi frugal tz=US/Pacific

Good find. Thanks for reporting. Fluxbox didn't get all the attention that it should. I tested base norestore and fluxbox/mydsl.menu, a non-preexisting file is created dsl.staff. However when loading extensions during boot, the permission becomes root.root. That is what you have experienced. I did not see this during the base norestore testing. And now I am running 4.1alpha1 in which mydsl.menu has been relocated away from /home/dsl and is now a preexisting file with proper permissions. Your posted patch is correct and necessary for 4.0.
Thanks for the speedy fix, and once again for the superb update.
Would it be possible to add the "showimage" program from SDL's test/ directory?

It's a really small image viewer, it can show nearly any type of image (all the ones supported by SDL). For example, jpg, png.. It's also really light, and works both in X and in a framebuffer console.

Mine is 5.8 kb, so it wouldn't take too much space. (By mine I mean on my Aero, compiled with glibc 2.5.1 and optimized for a P3...)

Next Page...
original here.