View previous topic :: View next topic |
Author |
Message |
martindv Apprentice
Joined: 16 Jul 2005 Posts: 171 Location: Argentina
|
Posted: Thu Sep 01, 2005 7:54 pm Post subject: fstab & mounting problems [Solved] |
|
|
Hi all,
In this occation finishing the installation of my Gentoo i found myself in the following problem. I have 2 hard drive with windows files:
/dev/sda
/dev/hda
well i have mounted:
/dev/sda1 -> /mnt/windowsc
/dev/hda1 -> /mnt/windowsd
The problem is the following.. i can access both drives normally when im logged as root but when i am logged as a regular user i have no access to these drives.
my fstab is the following:
Code: |
/dev/hdb1 /boot ext2 defaults,noatime 1 2
/dev/hdb3 / ext3 noatime 0 1
/dev/hdb2 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto auto,ro 0 0
/dev/fd0 /mnt/floppy auto auto 0 0
/dev/hda1 /mnt/windowsd ntfs defaults 0 0
/dev/sda1 /mnt/windowsc ntfs defaults 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
I've tried to do a chmod 777 windowsc and windowsd but when i reboot the rights changes to:
Code: |
drwx------ 2 root root 4096 Jul 26 14:11 cdrom
drwxrwxrwx 2 root root 4096 Jul 26 14:11 floppy
drwx------ 1 root root 8192 Aug 19 23:15 windowsc
drwx------ 1 root root 4096 Aug 20 15:24 windowsd
|
i also tried to put
Code: |
/dev/hda1 /mnt/windowsd ntfs user,auto,noatime,exec,rw 0 0
/dev/sda1 /mnt/windowsc ntfs user,auto,noatime,exec,rw 0 0
|
But nothing changed..
Plase help me with this...
Thanks in advance.
Martin _________________ Gentoo Rulez
AMD Athlon XP 2800+ @2.08Ghz
Asus A7V8NX-E-Deluxe
Nvidia Nforce2 chipset
1GB Ram
ASUS GeForce N6600 256MB RAM
2 IDE HDDS @Primary/Secondary Master
1 120GB HDD @Sata Channel #0
Last edited by martindv on Thu Sep 01, 2005 9:26 pm; edited 1 time in total |
|
Back to top |
|
|
jasm Tux's lil' helper
Joined: 10 Sep 2003 Posts: 80 Location: Belgium
|
Posted: Thu Sep 01, 2005 8:05 pm Post subject: |
|
|
I think you should play with the uid, gid and umask options in fstab for those partitions. Have a look at the man-page for mount in the ntfs specific section for more details. |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
|
Back to top |
|
|
martindv Apprentice
Joined: 16 Jul 2005 Posts: 171 Location: Argentina
|
Posted: Thu Sep 01, 2005 9:25 pm Post subject: |
|
|
Sorry.. next time i will
Thank you... i think this will solve the problem
thanks again _________________ Gentoo Rulez
AMD Athlon XP 2800+ @2.08Ghz
Asus A7V8NX-E-Deluxe
Nvidia Nforce2 chipset
1GB Ram
ASUS GeForce N6600 256MB RAM
2 IDE HDDS @Primary/Secondary Master
1 120GB HDD @Sata Channel #0 |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Fri Sep 02, 2005 12:14 am Post subject: |
|
|
Moved from Installing Gentoo to Duplicate Threads, please see this FAQ. _________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
|
|