You are not logged in.

#1 2010-04-20 09:24:51

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

[SOLVED] cd /home/user/.config >>> Permission denied

I've just installed arch on my work computer (win 7) via VirtualBox and installed awesome (works fine). Just wanted to copy the generic "rc.lua" file into "/home/arch/.config/awsome" but it wouldn't allow me. So I went:

$ cd /home/arch/.config

I got:

bash: cd: /home/arch/.config: Permission denied

Huh?

When I:

$ ls -la

I get:

drw-rw-rw- 3 arch arch 4096 Apr 20 18:02 .config

Am I missing something? I have no problem entering the directory as root.
Anybody any idea?

Last edited by JackH79 (2010-04-20 09:48:09)

Offline

#2 2010-04-20 09:42:56

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: [SOLVED] cd /home/user/.config >>> Permission denied

The permissions are different from mine (700 here, or rwx------)...


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-04-20 09:43:05

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: [SOLVED] cd /home/user/.config >>> Permission denied

You are not having execute persmission.
sudo you can just
chmod 700 .config


Tamil is my mother tongue.

Offline

#4 2010-04-20 09:47:34

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [SOLVED] cd /home/user/.config >>> Permission denied

Thanks a bunch for the quick reply to you both! That's done the trick.

Weird though that it was wrong. Guess I must've done something stupid earlier. No idea how though.

Last edited by JackH79 (2010-04-20 09:49:58)

Offline

#5 2010-04-20 11:52:04

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

Re: [SOLVED] cd /home/user/.config >>> Permission denied

Directories have to be executable - yours wasn't.

Offline

#6 2010-04-21 01:29:30

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: [SOLVED] cd /home/user/.config >>> Permission denied

JackH79 wrote:

Thanks a bunch for the quick reply to you both! That's done the trick.

Weird though that it was wrong. Guess I must've done something stupid earlier. No idea how though.

You probably ran (or had a bad package/script run) chmod 666 -R on your ~/


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2010-04-21 05:31:15

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [SOLVED] cd /home/user/.config >>> Permission denied

tomk wrote:

Directories have to be executable - yours wasn't.

Thanks. Hadn't thought about that.

ngoonee wrote:

You probably ran (or had a bad package/script run) chmod 666 -R on your ~/

Maybe. Tried to retrace my steps to figure out what I did, but because I did it at work I did everything in like five-minute-pieces, getting distracted all the time. The only thing I can think of that actually touched the folder at installation time was the "sakura" community package, though I don't believe that it would do something like that. I'll try to do it again when I'm at work though. Just to make sure.

Thanks anyway for your input.

Offline

Board footer

Powered by FluxBB