LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-09-2005, 09:22 AM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
mount ntfs partition


Hi i am trying to make my ntfs ppartition mountable from every user
My /etc/fstab has the following line
/dev/hda1 /media/windows ntfs ro,uid=1000.gid=100 0 0

The roor can ount it succesfully but when i tru to mount /media/windwos
returns the message only root can do this
 
Old 09-09-2005, 10:00 AM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Change the entry in your /etc/fstab to be this:
Code:
/dev/hda1       /media/windows  ntfs    nls=utf8,umask=0222 0       0
Once you have that fstab entry, you shouldn't have to manually mount it. It'll just be ready in the /media/windows folder when you boot up.

Oh, and make sure you actually create a folder in media called windows.
 
Old 09-09-2005, 10:35 AM   #3
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
mount the file system with "umask=0" as an option.

For example

#mount -t ntfs -o umask=0 /dev/hdxX /path/to/mount/point

where /dev/hdxX is replaced with the hard drive and partition of the NTFS filesystem.

In fstab it will look a bit different -- but I'll let you play around with it.


let's say your windows partition is at /dev/hda1.

code:

chmod a+rx /dev/hda1


This line is only to make certain that all users can read the drive.

add the following line to ur /etc/fstab file:

code:

/dev/hda1 /mnt/ntfs ntfs noauto,users,ro,umask=0 1 0
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i cannot mount a ntfs partition novel15 Debian 22 07-28-2007 01:40 PM
How can I mount a NTFS partition? LegendBreath Fedora 1 06-05-2005 11:02 AM
mount NTFS partition on R.H 9.0 borceivanovski General 1 05-23-2004 08:09 PM
Can I mount a NTFS partition ? sirdilznik Slackware 10 12-03-2003 05:26 AM
Can someone help me mount my NTFS partition? Kramer Linux - General 3 11-12-2003 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:15 AM.

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