[hafqa] [hafqa] [Bug 2837] New: osso-gtk.defs assumes that user is the only valid user

From: bugzilla-daemon at lists.maemo.org bugzilla-daemon at lists.maemo.org
Date: Sat Jan 26 01:16:39 EET 2008
https://bugs.maemo.org/show_bug.cgi?id=2837

           Summary: osso-gtk.defs assumes that user is the only valid user
           Product: System software
           Version: 4.0
          Platform: All
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: Low
         Component: general
        AssignedTo: carlos at maemo.org
        ReportedBy: erik at hovland.org
         QAContact: hafqa at maemo.org


SOFTWARE VERSION:
(Control Panel > General > About product)
2.2007.50-2

STEPS TO REPRODUCE THE PROBLEM:
useradd foo
su - foo


EXPECTED OUTCOME:

mkdir $USER/.osso

ACTUAL OUTCOME:
mkdir: cannot create directory '/home/user/.osso': Permission denied
cp: cannot stat '/home/user/.osso/current-gtk-theme': Permission denied
cp: cannot stat '/home/user/.osso/current-gtk-key-theme': Permission denied

REPRODUCIBILITY:
(always/sometimes/once)

always

EXTRA SOFTWARE INSTALLED:

skype, fbreader, lxdoom, hp calculator, battle gweled, kagu

OTHER COMMENTS:

I understand that having more then the 'user' user account on a N8x0 is not
actually supported. But the file /etc/osso-af-init/osso-gtk.defs makes a
hardcoded assumption that 'user' is the only one, when there is no real reason
why it can't at least work if another user logs in.

I have modified my osso-gtk.defs to change the line:
HOME=/home/user  ;# needed for some root processes

to:
HOME=/home/$USER  ;# needed for some root processes

And now it works for more then just 'user'.


-- 
Configure bugmail: https://bugs.maemo.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list