You are not logged in.

#1 2010-06-11 18:04:56

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

(SOLVED) Permission Denied

I don't seem to have access to my /Storage partition. The partition is an ext4 Linux partition I made when I installed Linux.

[XXXXXX@Archlinux ~]$ groups
lp wheel hal video audio optical storage power users

HAL starts up as a daemon...

How can I fix this?

Last edited by Google (2010-06-11 19:01:28)

Offline

#2 2010-06-11 18:22:52

rb
Member
From: Argentina
Registered: 2010-05-07
Posts: 143

Re: (SOLVED) Permission Denied

stat /Storage


Sorry for my English. Feel free to point out my errors.

Offline

#3 2010-06-11 18:26:03

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

Re: (SOLVED) Permission Denied

[XXXXX@Archlinux ~]$ stat /storage
  File: `/storage'
  Size: 4096          Blocks: 8          IO Block: 4096   directory
Device: 803h/2051d    Inode: 2           Links: 3
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2010-06-12 02:10:27.192182111 +0900
Modify: 2010-06-12 01:07:19.000000000 +0900
Change: 2010-06-12 01:07:19.000000000 +0900

Offline

#4 2010-06-11 18:32:21

rb
Member
From: Argentina
Registered: 2010-05-07
Posts: 143

Re: (SOLVED) Permission Denied

I'm quite new here, but if understand permissions right, with 755 you should be able to enter (execute) the directory.

/EDIT: With "I can't access to /Storage" you mean you can't enter the directory or you can't write in it?

Last edited by rb (2010-06-11 18:39:34)


Sorry for my English. Feel free to point out my errors.

Offline

#5 2010-06-11 18:41:07

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

Re: (SOLVED) Permission Denied

I can see inside, but I can't make a folder, or edit anything. I guess I have read access but no write access.

Offline

#6 2010-06-11 18:54:43

rb
Member
From: Argentina
Registered: 2010-05-07
Posts: 143

Re: (SOLVED) Permission Denied

I thought so.

That's because you don't own that directory (it's owned by root). Check this line in the stat output:

Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

chown wink


Sorry for my English. Feel free to point out my errors.

Offline

#7 2010-06-11 19:01:09

Google
Member
From: Mountain View, California
Registered: 2010-05-31
Posts: 484
Website

Re: (SOLVED) Permission Denied

Thanks, I did chown <username> /storage

and it seems to have fixed it. I hope it remembers it, thanks a lot!

Offline

#8 2010-06-11 19:11:59

rb
Member
From: Argentina
Registered: 2010-05-07
Posts: 143

Re: (SOLVED) Permission Denied

np smile


Sorry for my English. Feel free to point out my errors.

Offline

#9 2010-06-11 19:16:52

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: (SOLVED) Permission Denied

It will remember it. The uid and gid are stored in the ext4 filesystem itself. All new files and directories will also be owned by you, but anything there before you did chown will not be. You can fix that by running that chown command again and with the -R flag.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB