bugGNUstep - Bugs: bug #11812, defaults creates a directory named...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11812: defaults creates a directory named "/home/me/~/GNUstep"

Submitted by:  Pupeno <pupeno>
Submitted on:  Wed 02 Feb 2005 01:55:54 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: BugStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 02 Apr 2005 05:03:45 AM UTC, comment #2:

Nobody has reproduced this,
The original poster hasn't responded,
The defaults/pathutilites stuff has changed since then anyway ...
So I see no point keeping this report open.

Richard Frith-Macdonald <CaS>
Project Member
Wed 02 Feb 2005 10:30:10 AM UTC, comment #1:

What version of the GNUstyep base library are you using?

Looking at the CVS source, I can't see how the message -
2005-02-01 22:33:56.000 defaults[12113] Defaults home '~/GNUstep' did not exist - created it
can reasonably happen.

The name of the defaults directory is formed by reading .GNUsteprc and either accepting the directory name found or by replacing a leading '~' with the home directory of the user (obtained from the unix password file using getpwent() function). So to get '~/GNUstep' as the defaults home it looks like the password file would need to contain '~' as the home directory of the user,
or the string handling would need to be sufficiently broken that it fails to recognise that the value it read from .GNUsteprc had a leading '~'

Richard Frith-Macdonald <CaS>
Project Member
Wed 02 Feb 2005 01:55:54 AM UTC, original submission:

When I call
defaults write NSGlobalDomain GSBackend libgnustep-art
it says:
2005-02-01 22:33:56.000 defaults[12113] Defaults home '~/GNUstep' did not exist - created it
2005-02-01 22:33:56.000 defaults[12113] Defaults path '~/GNUstep/Defaults' did not exist - created it
2005-02-01 22:33:56.000 defaults[12113] File NSUserDefaults.m: 815. In [NSUserDefaults -initWithContentsOfFile:] Path '/home/pupeno/GNUstep/Defaults' is not writable - making user defaults for '/home/pupeno/GNUstep/Defaults/.GNUstepDefaults' read-only
And when I take alook at the results, it created a directory /home/pupeno/~/GNUstep/
I think that's a bug ;)

Pupeno <pupeno>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 02 Apr 2005 05:03:45 AM UTCCaSStatusNone=>Works For Me
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1