[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2011-08-10 Thread Bug Watch Updater
** Changed in: gnome-system-tools (Debian)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.
https://bugs.launchpad.net/bugs/198172

Title:
  [users-admin] Changing anything about the root account sets and
  invalid home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/gst/+bug/198172/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2010-09-16 Thread Bug Watch Updater
** Changed in: gst
   Status: Confirmed = Fix Released

** Changed in: gst
   Importance: Unknown = High

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2009-12-05 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/gnome-system-tools

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-06-28 Thread Bug Watch Updater
** Changed in: gnome-system-tools (Debian)
   Status: Unknown = New

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-06-27 Thread James Westby
** Bug watch added: Debian Bug tracker #488252
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488252

** Also affects: gnome-system-tools (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488252
   Importance: Unknown
   Status: Unknown

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-04-28 Thread Bug Watch Updater
** Changed in: gst
   Status: New = Confirmed

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-04-01 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-system-tools - 2.22.0-0ubuntu5

---
gnome-system-tools (2.22.0-0ubuntu5) hardy; urgency=low

  * If a user already exists then set the home directory text box
to display their home directory, rather than the default for their
profile. This avoids changing the homedir inadvertantly when
a user's homedir isn't the default for their profile, in
particular the root user on Ubuntu. (LP: #198172)

 -- James Westby [EMAIL PROTECTED]   Mon, 31 Mar 2008
13:10:26 +0100

** Changed in: gnome-system-tools (Ubuntu)
   Status: Triaged = Fix Released

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-03-31 Thread James Westby
Hi,

This bug is a lot simpler to fix than what my first attempts
were trying to do. The fix is attached.

By way of explanation, as it's not completely obvious I
include the main part here.

+--- gnome-system-tools-2.22.0~/src/users/user-settings.c   2008-03-31 
16:32:35.0 +0100
 gnome-system-tools-2.22.0/src/users/user-settings.c2008-03-31 
16:32:36.0 +0100
+@@ -347,9 +347,6 @@
+   widget = gst_dialog_get_widget (tool-main_dialog, 
user_settings_shell);
+   set_entry_text (GTK_BIN (widget)-child, oobs_user_get_shell 
(user));
+ 
+-  widget = gst_dialog_get_widget (tool-main_dialog, 
user_settings_home);
+-  set_entry_text (widget, oobs_user_get_home_directory (user));
+-
+   widget = gst_dialog_get_widget (tool-main_dialog, 
user_settings_uid);
+   gtk_spin_button_set_value (GTK_SPIN_BUTTON (widget), 
oobs_user_get_uid (user));
+   gtk_widget_set_sensitive (GTK_SPIN_BUTTON (widget), FALSE);


Here's where the code used to set the home dir for existing users.

+@@ -394,6 +391,11 @@
+   if (!login)
+   table_set_default_profile (GST_USERS_TOOL (tool));
+ 

However this eventually sets the default home dir prefix
for the user's profile, and then calls the callback to
update that based on  the user's name. This then overwrote
the value we set above.

It is exactly the right thing to do if the user didn't exist
on the system yet, i.e. user == NULL.

++  if (user) {
++  widget = gst_dialog_get_widget (tool-main_dialog, 
user_settings_home);
++  set_entry_text (widget, oobs_user_get_home_directory (user));
++  }

So, we just add this right after, which is taking the code above and
moving it below this, with the same guard. This means that
we still set the user's home directory if they already exist, we just do
it later so that it is not overwritten.

I have tested this and found

  * It shows both mine and the root account's home
 dir correctly, where only mine was shown before.

  * It uses the default prefix from the user's profile
 when creating a user, and updates the homedir
 as you type in the username, which is the same
 behaviour as before.

Thanks,

James


** Attachment added: g-s-t.diff
   http://launchpadlibrarian.net/12995276/g-s-t.diff

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-03-28 Thread Martin Stephens
I just changed my root account password and got the same error today.


I might note that I had NO PROBLEM using sudo apt-get update  then sudo 
apt-get install
That worked fine and was done immediately after the problem was detected.


Since this is not a production machine, and I don't really care if I have to 
use the terminal, I'm going to leave it alone and help test any bug fixes done 
on the related packages.


Copy and paste my matching error message:
E: ERROR: could not create configuration directory /home/root/.synaptic - mkdir 
(2 No such file or directory)

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-03-19 Thread Bug Watch Updater
** Changed in: gst
   Status: Unknown = New

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-03-18 Thread James Westby
** Summary changed:

- E: ERROR: could not create configuration directory /home/root/.synaptic - 
mkdir (2 No such file or directory) 
+ [users-admin] Changing anything about the root account sets and invalid home 
directory

** Description changed:

+ Hi,
+ 
+ When the user uses users-admin to edit anythin to
+ do with the root account the root home directory is
+ set to /home/root/. This makes tools like synaptic
+ unable to open.
+ 
+ The problem is that the preferences window uses
+ a profile from /etc/gnome-system-tools/users/profiles
+ to set certain default values. For the root account it
+ is the Administrator type, which says that the
+ home folder should live under /home/
+ 
+ This means that /home/root is then filled in as the default
+ value of the Advanced tab for the root user. Therefore
+ if the user makes any change and presses OK (or perhaps
+ on no change) the home directory for the root account is
+ set to the wrong value.
+ 
+ I think that this is fine behaviour for new accounts, but for
+ existing accounts these fields shouldn't be set to the
+ default value, but to the current existing value, which
+ would mean that clicking OK would only set the value
+ to the same as it was before.
+ 
+ The original report remains below.
+ 
+ Thanks,
+ 
+ James
+ 
+ ---
+ 
  After I installed the last update today, I keep receiving this error message 
when I try to open the Synoptic Package Manager:
  E: ERROR: could not create configuration directory /home/root/.synaptic - 
mkdir (2 No such file or directory)

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-03-18 Thread Pedro Villavicencio
** Changed in: gnome-system-tools (Ubuntu)
   Importance: Undecided = High
 Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs)
   Target: None = ubuntu-8.04

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 198172] Re: [users-admin] Changing anything about the root account sets and invalid home directory

2008-03-18 Thread Pedro Villavicencio
I've sent this upstream at:
http://bugzilla.gnome.org/show_bug.cgi?id=523180 ; thanks for reporting.

** Changed in: gnome-system-tools (Ubuntu)
   Status: Confirmed = Triaged

** Also affects: gst via
   http://bugzilla.gnome.org/show_bug.cgi?id=523180
   Importance: Unknown
   Status: Unknown

-- 
[users-admin] Changing anything about the root account sets and invalid home 
directory
https://bugs.launchpad.net/bugs/198172
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs