Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
External Hard Drive Permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
adekoba
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2006
Posts: 129

PostPosted: Tue Oct 10, 2006 12:37 am    Post subject: External Hard Drive Permissions Reply with quote

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
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Tue Oct 10, 2006 1:18 am    Post subject: Reply with quote

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
View user's profile Send private message
adekoba
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2006
Posts: 129

PostPosted: Tue Oct 10, 2006 1:23 am    Post subject: Reply with quote

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
View user's profile Send private message
baeksu
l33t
l33t


Joined: 26 Sep 2004
Posts: 609
Location: Seoul, Korea

PostPosted: Tue Oct 10, 2006 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message
adekoba
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2006
Posts: 129

PostPosted: Tue Oct 10, 2006 10:18 am    Post subject: Reply with quote

It still doesn't work...
Back to top
View user's profile Send private message
adekoba
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2006
Posts: 129

PostPosted: Tue Oct 10, 2006 6:53 pm    Post subject: Reply with quote

bump...
Back to top
View user's profile Send private message
adekoba
Tux's lil' helper
Tux's lil' helper


Joined: 06 Oct 2006
Posts: 129

PostPosted: Tue Oct 10, 2006 7:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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