You are not logged in.
Pages: 1
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
stat /Storage
Sorry for my English. Feel free to point out my errors.
Offline
[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
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
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
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
Sorry for my English. Feel free to point out my errors.
Offline
Thanks, I did chown <username> /storage
and it seems to have fixed it. I hope it remembers it, thanks a lot!
Offline
np
Sorry for my English. Feel free to point out my errors.
Offline
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
Pages: 1