View previous topic :: View next topic |
Author |
Message |
adekoba Tux's lil' helper
Joined: 06 Oct 2006 Posts: 129
|
Posted: Tue Oct 10, 2006 12:37 am Post subject: External Hard Drive Permissions |
|
|
Hello, I have an external usb hard drive in sda1. It won't let me change the owner or group or any of the permissions of the drive, even when I'm in super user mode it says I don't have permission to change it.
Here's my fstab:
Code: | /dev/hda1 /boot ext2 defaults 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 defaults 0 1
/dev/sda1 /media/MYBOOK vfat user,rw 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0 |
I've changed the options for sda1 to almost everything out there, still no luck. Any suggestions? |
|
Back to top |
|
|
desultory Bodhisattva
Joined: 04 Nov 2005 Posts: 9410
|
Posted: Tue Oct 10, 2006 1:18 am Post subject: |
|
|
Use a different filesystem. The permissions of a specific file are immutable under vfat. There are overlays which can be used to emulate file permissions on FAT type filesystems. |
|
Back to top |
|
|
adekoba Tux's lil' helper
Joined: 06 Oct 2006 Posts: 129
|
Posted: Tue Oct 10, 2006 1:23 am Post subject: |
|
|
Well, there's over 100g that can't be transfered over to my 30g internal hd.
It worked with ubuntu so there has to be a way. |
|
Back to top |
|
|
baeksu l33t
Joined: 26 Sep 2004 Posts: 609 Location: Seoul, Korea
|
Posted: Tue Oct 10, 2006 2:25 am Post subject: |
|
|
You can add options to the fstab. For instance, unmask=0666 will make it read/writable by everyone. Or you can use uid="yourname" and gid=users to have it mount with files belonging to "yourname" _________________ Gnome:
1. A legendary being.
2. A never ending quest to make unix friendly to people who don't want unix and excruciating for those that do. |
|
Back to top |
|
|
adekoba Tux's lil' helper
Joined: 06 Oct 2006 Posts: 129
|
Posted: Tue Oct 10, 2006 10:18 am Post subject: |
|
|
It still doesn't work... |
|
Back to top |
|
|
adekoba Tux's lil' helper
Joined: 06 Oct 2006 Posts: 129
|
Posted: Tue Oct 10, 2006 6:53 pm Post subject: |
|
|
bump... |
|
Back to top |
|
|
adekoba Tux's lil' helper
Joined: 06 Oct 2006 Posts: 129
|
Posted: Tue Oct 10, 2006 7:31 pm Post subject: |
|
|
Fixed it. For future reference, if anybody has a fat32 system and wants rwx permissions as a user, use these options:
Code: |
/dev/hda1 /boot ext2 defaults 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 defaults 0 1
/dev/sda1 /media/MYBOOK vfat umask=000,uid=justin,gid=users 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0 |
|
|
Back to top |
|
|
|