You are not logged in.

#1 2008-06-28 23:20:49

Berticus
Member
Registered: 2008-06-11
Posts: 731

[SOLVED] fstab /data

I have a /data partition to share with all users on my system. It's xfs since it hosts many large files. The issue is I can't seem to access or write to it, even though I've chmod 0666 /data. I've even gone as far as to chown it with nobody.nobody. My fstab for that particular line is:

/dev/mapper/vga1-data /data xfs rw,users 0 1

But even if I cd to /data, I get:

bash: cd: /data: Permission denied

Last edited by Berticus (2008-06-29 00:29:33)

Offline

#2 2008-06-28 23:39:42

kumyco
Member
From: somewhere
Registered: 2008-06-23
Posts: 153
Website

Re: [SOLVED] fstab /data

you need `execute' permissions on directories otherwise they're as good as useless, the order is (user, group, world)
666 = RW*3, what you may be looking for is 777 = RWX*3 or maybe 755 = RWX RX RX

Offline

#3 2008-06-29 00:30:04

Berticus
Member
Registered: 2008-06-11
Posts: 731

Re: [SOLVED] fstab /data

Odd...  didn't think 777 would be needed to access... Thought it would only be needed to execute programs in there.. Read should've at least let me read directories and files in there. And write should've let me write to directories and files in there...

Last edited by Berticus (2008-06-29 00:31:20)

Offline

#4 2008-06-29 00:43:59

kumyco
Member
From: somewhere
Registered: 2008-06-23
Posts: 153
Website

Re: [SOLVED] fstab /data

it's a special case for directories
as they are special files,
long story short they need ex rights to access then
so you won't be cd'ing into it anytime soon.
no access means no access to info about the files in there

Offline

Board footer

Powered by FluxBB