You are not logged in.

#1 2009-12-01 09:05:23

gazza
Member
Registered: 2008-06-19
Posts: 9

applications can only write to home directory...[SOLVED]

...if logged in as root
I'm sure that this topic has be covered before, but I just cant find anything.

When I'm logged in as root, all applications work fine but when I'm logged in as myself most applications moan about not being able to create a directory.

For example if I start Geany, it complains:
Configuration directory could not be created (Permission denied).
There could be some problems using Geany without a configuration directory.
Start Geany anyway?

Epiphany had the same issue so I manually created the .epiphany directory/folder that it wanted to write to.

I'm sure its a permissions issue, but i can set my home dir to chmod -R 777 ... and the applications still complain

> groups gary
root wheel network video audio floppy storage users

I added myself to the root group, still no joy.

What do I need to do? Is there some group that I need to add to the user?

Many thanks in advance,
gazza

Last edited by gazza (2009-12-01 16:33:28)

Offline

#2 2009-12-01 11:31:25

rekado
Member
From: Shanghai, China
Registered: 2009-01-13
Posts: 98
Website

Re: applications can only write to home directory...[SOLVED]

Who owns your home directory?

Offline

#3 2009-12-01 11:37:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: applications can only write to home directory...[SOLVED]

And do you mean '/home' or "~"?

Offline

#4 2009-12-01 11:43:55

rekado
Member
From: Shanghai, China
Registered: 2009-01-13
Posts: 98
Website

Re: applications can only write to home directory...[SOLVED]

Your user's home directory, ~ (i.e. /home/karol or similar).

Offline

#5 2009-12-01 12:05:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: applications can only write to home directory...[SOLVED]

Just a bunch of wild guesses:
* maybe you've edited a file as root thus changing permissions and now ...
* maybe you (as a user) are trying to create the files/dirs in /root?

Offline

#6 2009-12-01 16:00:26

gazza
Member
Registered: 2008-06-19
Posts: 9

Re: applications can only write to home directory...[SOLVED]

thanks everyone.
I had a play and changed the owner to root and then back to <user> (using chown -R <name>) .
Started geany no complaints, started ooffice no complaints
problem solved.

BTW I was refering to ~ rather than /home

I must have caused the problem by renaming/ creating directorys while acting as root.

smile

Last edited by gazza (2009-12-01 16:02:05)

Offline

#7 2009-12-01 16:05:17

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: applications can only write to home directory...[SOLVED]

> I must have caused the problem by renaming/ creating directorys while acting as root.
That's what I thought :-)

Can you mark the thread as solved?

Offline

Board footer

Powered by FluxBB