Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Permissions Question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Thu Jan 27, 2005 8:53 pm    Post subject: Permissions Question Reply with quote

Ever get stumped by something so basic it makes you feel reatarded? I have a harddrive mounted at /backups that I cannot chmod the permissions of (to 777) or chown away from root:root.

Code:

elaine / # ls -lah | grep backups
drwxr--r--   4 root root  32K Dec 31  1969 backups


Fstab:
Code:

/dev/hdb1              /backups         vfat            auto,user


Very confused. What can I do?
_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
lookinin
Guru
Guru


Joined: 21 Jan 2005
Posts: 486

PostPosted: Thu Jan 27, 2005 8:55 pm    Post subject: Reply with quote

vfat doesn't support those permissions or ownership other than root:root :?

[edit]
actually, you might be able to change the ownership, but it would be for the entire filesystem ... check out man fstab... Anyone wanna confirm?
[/edit]


Last edited by lookinin on Thu Jan 27, 2005 8:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Thu Jan 27, 2005 8:57 pm    Post subject: Reply with quote

Haha, doh. Ok, how can I give a normal user write access to the drive?
_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
lookinin
Guru
Guru


Joined: 21 Jan 2005
Posts: 486

PostPosted: Thu Jan 27, 2005 8:59 pm    Post subject: Reply with quote

My fstab looks like this, and users can write to it:

Code:
/dev/hda1               /mnt/windows    vfat            defaults,umask=0,noatime 0 0
Back to top
View user's profile Send private message
lookinin
Guru
Guru


Joined: 21 Jan 2005
Posts: 486

PostPosted: Thu Jan 27, 2005 9:04 pm    Post subject: Reply with quote

And you taught me something too... I've always found it very annoying when I do a (to use your example):

Code:
ls -l backups/


And I got a directory listing inside backups... "ls -l | grep dir/" works nice. I feel silly that I never thought of that... lol
Back to top
View user's profile Send private message
KePSuX
Guru
Guru


Joined: 29 Sep 2003
Posts: 312
Location: Fredericksburg Va

PostPosted: Thu Jan 27, 2005 9:22 pm    Post subject: Reply with quote

lookinin wrote:
My fstab looks like this, and users can write to it:

Code:
/dev/hda1               /mnt/windows    vfat            defaults,umask=0,noatime 0 0


Hot dog. Thanks bro!
_________________
http://www.atomicraygunattack.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum