Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab & mounting problems [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
martindv
Apprentice
Apprentice


Joined: 16 Jul 2005
Posts: 171
Location: Argentina

PostPosted: Thu Sep 01, 2005 7:54 pm    Post subject: fstab & mounting problems [Solved] Reply with quote

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


Joined: 10 Sep 2003
Posts: 80
Location: Belgium

PostPosted: Thu Sep 01, 2005 8:05 pm    Post subject: Reply with quote

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


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Thu Sep 01, 2005 9:11 pm    Post subject: Reply with quote

Hi.

You should have searched before posting. This issue is frequently raised. Read the following
https://forums.gentoo.org/viewtopic-t-29285-highlight-mount+windows.html
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
martindv
Apprentice
Apprentice


Joined: 16 Jul 2005
Posts: 171
Location: Argentina

PostPosted: Thu Sep 01, 2005 9:25 pm    Post subject: Reply with quote

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


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Fri Sep 02, 2005 12:14 am    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads, please see this FAQ.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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