LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-24-2004, 03:53 AM   #1
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
Accessing Fat/NTFS partitions


Hello.

I have my 120gig hard disk partitioned as follows:

hda1= NTFS (/windows)
hda5= reiserfs (/)
hda6= linux swap
hda7= ext3 (/home)
hda8= FAT32 (/backup)

I have mounted these partitions at the mount points in brackets. Basically I recently installed slackware 10.0. I used to have the same partions on slack 9.1 and had no problems accessing the ntfs and fat partitions.

My problem is that now only the root user can access these non-linux paritions. This is not good as I use the FAT partion to store all my downloads and programme files etc. I have tried editing my /etc/fstab file to give permission to users but nothiner works. The root users cannot change the permissions on these mount points. So unless I log in as root i, or anyone else, cannot access the FAT or NTFS partitions. I'm not so bothered about the NTFS partition, but i really need the FAT one.

I will post my /etc/fstab when i get the chance.

My question is: Is this normail?
And what should I put in my fstab table to allow the root user to change the permissions or to allow normal users to access the FAT partition.

Any ideas anyone? Thanks!
 
Old 08-24-2004, 04:18 AM   #2
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
It is a fairly common problem. The thing is, ntfs and fat don't store file permissions (unlike *nix filesystems) so, when you want to mount them, you need to specify some default permissions. The umask, uid and gid options in /etc/fstab are the relevant ones. If you set gid to the number of the users group and you set umask to 664, that will give everyone in users read/write permissions on the fat/ntfs partitions. Which is probably what you want. Read the man page for mount if you want more detailed information.
 
Old 09-03-2004, 12:27 PM   #3
ashwini
LQ Newbie
 
Registered: Aug 2004
Location: maharashrta
Posts: 1

Rep: Reputation: 0
Post could u give me the information about accessing ntfs in linux

could u pzl help me?
my project is ntfs driver.
the purpose of my project is to access ntfs in linux.
i'm using redhat linux 9,kernel 2.4.20

Please provide me the source code for this project.

MY EMAIL ID IS ashwini_4@yahoo.com.
Please reply me)
 
Old 09-03-2004, 01:16 PM   #4
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Put something like this in /etc/fstab

/dev/hda1 /mnt/windows ntfs ro,umask=0 0 0
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
A Distro for the FAT+FAT32+NTFS Partitions ... Daejavu Linux - Distributions 9 07-13-2005 03:30 AM
Accessing a FAT partition? or NTFS? cucolin@ Linux - Hardware 5 11-23-2004 06:54 AM
[NTFS]/[EXT(2 or 3)]/[FAT/FAT32] partitions fraz Linux - Software 5 11-14-2004 07:43 AM
how to convert ext2 fs partitions into fat/ntfs? lixy Linux - General 4 06-21-2004 06:32 AM
Accessing FAT partitions? fusion1911 Slackware 8 11-16-2003 01:46 PM

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

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