LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-23-2004, 09:13 AM   #1
powadha
Member
 
Registered: Nov 2003
Location: Zwolle
Distribution: Arch
Posts: 651

Rep: Reputation: 31
how to auto umount?


I've setup my users they can read the win disk on hdb. Only prob is that if I log in as root the disks get mounted (that's fine) but if I logout and login as a user I have to umount the drives as root before I can mount them as user. How to fix this?

My fstab looks like:

/dev/hdb5 /mnt/windows/d vfat users,gid=1001,umask=0227 0 0
/dev/hdb1 /mnt/windows/c ntfs ro,users,gid=1001,umask=0277 0 0

gid=1001 is the group called windisk and users need to be in here to have access at all.

I think the fstab is fine, perhaps some 'auto umount' setting?


Any clues?

Regards

Last edited by powadha; 05-23-2004 at 09:14 AM.
 
Old 05-23-2004, 09:20 AM   #2
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Rep: Reputation: 30
I auto mount my windows partition on my laptop as follows:

/dev/hda1 /winC ntfs defaults,user,ro,umask=002,gid=100,auto 0 0

Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I auto start modules that aren't auto loaded on boot? darkbluedrew Debian 2 09-18-2005 09:10 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 12:02 PM
In fc3 Can I umount a Logical Volume which is mounted auto in fstab? TomF Linux - Newbie 2 12-16-2004 01:40 AM
auto-completion - how does it work & can my script args auto-complete? BrianK Programming 1 06-11-2004 04:51 PM
autofs enabled in kernel but auto.mount and auto.master are NOT in /etc! Alybyzrp Linux - General 0 11-11-2003 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration