Bug 67583 - startkde and /etc/skel/.kde problem
Summary: startkde and /etc/skel/.kde problem
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kdebase
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Ben Levenson
URL:
Whiteboard:
: 89153 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-06-27 19:35 UTC by aleahy
Modified: 2007-04-18 16:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-11-05 15:44:05 UTC
Embargoed:


Attachments (Terms of Use)

Description aleahy 2002-06-27 19:35:48 UTC
Description of Problem:   There's a bug in /usr/bin/startkde.  On line 44, it
performs:

[ -d "$HOME"/.kde/share/config ] || mkdir -p "$HOME"/.kde/share/config

which makes sure $HOME/.kde exists.  Then down on line 56 it performs the test:

if [ ! -d "$HOME"/.kde -a -d /etc/skel/.kde ]; then
  ( cd /etc/skel && tar cpf - .kde ) | ( cd "$HOME" && tar xpf - )
fi

Given what happened on line 44, there's no way to pass this test.  So the
contents of /etc/skel/.kde will never get copied to the user's directory.




Version-Release number of selected component (if applicable):


How Reproducible:




Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Marcin Garski 2004-11-04 22:04:53 UTC
There isn't more:
if [ ! -d "$HOME"/.kde -a -d /etc/skel/.kde ]; then
  ( cd /etc/skel && tar cpf - .kde ) | ( cd "$HOME" && tar xpf - )
fi

in Fedora Core, so IMHO this bug should be closed, but I'll leave it
for Ngo Than, because maybe there is some "hidden" bug in this report ;)


Comment 2 Than Ngo 2004-11-05 15:44:05 UTC
it's already fixed in the current FC release.

Comment 3 Marcin Garski 2004-11-05 15:46:38 UTC
*** Bug 89153 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.