You are not logged in.

#1 2010-10-26 09:14:05

stiffy420
Member
Registered: 2009-12-11
Posts: 99

[SOLVED] home folder issue.

Im having some strange issues with my home folder.

I followed the "beginners guide" by adding a user with this command: "useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power -s /bin/bash archie", but with my username.

But when i try to start transmission i get this error:Couldn't open "/home/steffa/.config/transmission/lock": No such file or directory. But im able to open transmission if i use the sudo command.

The same problem occurs when i try to use menumaker. i get this output:

[steffa@myhost ~]$ sudo mmaker -vf OpenBox3
Password:
* scanning
  desktop... 24 apps found
  legacy... 11 apps found
  debian... 71 apps found
* merging... 38 coincidings detected
* generating
  no terminal emulator specified; will use the default
  using Xterm as terminal emulator
* writing to ~/.config/openbox/menu.xml
* done

But reconfigure openbox doesnt change the menu at all. it is still the default menu.xml


I also get this error when trying to launch chromium:

[2389:2389:154808490:FATAL:chrome/browser/browser_main.cc(771)] Check failed: PathService::Get(chrome::DIR_USER_DATA, &user_data_dir). Must be able to get user data directory!

All other applications works just fine.

Last edited by stiffy420 (2010-10-26 22:23:39)

Offline

#2 2010-10-26 09:37:59

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] home folder issue.

It looks like root owns your home folder for some reason. You can issue:

# sudo chown -R steffa /home/steffa

ᶘ ᵒᴥᵒᶅ

Offline

#3 2010-10-26 09:51:38

stiffy420
Member
Registered: 2009-12-11
Posts: 99

Re: [SOLVED] home folder issue.

SOLVED! why did root own my home folder? thats strange. i really followed the beginners guide step by step.

i did "sudo chown -R steffa:users /home/steffa" i read somewhere that that is the correct way. am i wrong?

Offline

#4 2010-10-26 10:14:44

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] home folder issue.

stiffy420 wrote:

SOLVED!

Great, please mark your topic solved by prepending it to the title. smile

why did root own my home folder?

I'm not sure, it happened to people before so maybe someone else can shed some light on this.

i did "sudo chown -R steffa:users /home/steffa" i read somewhere that that is the correct way. am i wrong?

Yes that's fine, the extra :users part also assigns it to the users group.


ᶘ ᵒᴥᵒᶅ

Offline

#5 2010-10-26 11:01:28

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [SOLVED] home folder issue.

Given its intended audience, I'm mildly surprised that the beginners' guide doesn't recommend 'adduser' instead of 'useradd'. It's less error-prone, particularly for those who may not be accustomed to typing long entries at the command line.

Just an observation, not necessarily relevant here. smile

Offline

Board footer

Powered by FluxBB