LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-09-2005, 06:01 PM   #1
lnthai2002
Member
 
Registered: Jan 2005
Location: Montreal, QC, CANADA
Distribution: Red Hat Fedora
Posts: 135

Rep: Reputation: 15
Question mounting NTFS for all users of fedora 3


Hi,

Does anyone know how to mount a NTFS partition for a specific user (nonroot) automaticaly at boot time by using /etc/fstab ??? I have tried to add the following line in the fstab file but the user named sam cannot access the data folder:
/dev/hda5 /home/sam/Desktop/data ntfs ro,auto,nouser 0 0

moreover, i also tried to mount a vfat partition by adding th following line and all user can access easily (read and write too)
/dev/hdb5 /mnt/share vfat rw,noauto,async 0 0
why do all user can access share but not data?

Any suggestion is welcome
 
Old 01-09-2005, 07:21 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
NTFS does not work with permissions like Linux does, so the NTFS feature in Linux virtualize the permission. This problem makes the permission globalized throughout whole entire NTFS drive. You can try adding umask=022 in fstab. This will give read and execute access to everybody. Also make sure that the directory /home/sam/Desktop/data has the right permissions after it mounts.

The umask=022 is like 755 (777-022).

BTW, the same goes for vfat partitions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mounting NTFS for users eggoz Linux - Newbie 1 09-26-2004 10:18 PM
Mounting NTFS for users other than root Tarwedge Slackware 19 05-20-2004 02:59 PM
mounting ntfs for users on laptop Tuttle Slackware 5 05-18-2004 04:00 PM
Mounting NTFS drive for all users laurentbon Slackware 7 10-27-2003 06:13 AM
Mounting NTFS Partition for all users? Seph64 Slackware 3 02-27-2003 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:31 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