View previous topic :: View next topic |
Author |
Message |
KePSuX Guru
Joined: 29 Sep 2003 Posts: 312 Location: Fredericksburg Va
|
Posted: Thu Jan 27, 2005 8:53 pm Post subject: Permissions Question |
|
|
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 |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Thu Jan 27, 2005 8:55 pm Post subject: |
|
|
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 |
|
|
KePSuX Guru
Joined: 29 Sep 2003 Posts: 312 Location: Fredericksburg Va
|
Posted: Thu Jan 27, 2005 8:57 pm Post subject: |
|
|
Haha, doh. Ok, how can I give a normal user write access to the drive? _________________ http://www.atomicraygunattack.com |
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Thu Jan 27, 2005 8:59 pm Post subject: |
|
|
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 |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Thu Jan 27, 2005 9:04 pm Post subject: |
|
|
And you taught me something too... I've always found it very annoying when I do a (to use your example):
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 |
|
|
KePSuX Guru
Joined: 29 Sep 2003 Posts: 312 Location: Fredericksburg Va
|
Posted: Thu Jan 27, 2005 9:22 pm Post subject: |
|
|
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 |
|
|
|