LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2003, 12:19 PM   #1
Anubis
Member
 
Registered: Mar 2002
Location: /dev/null
Distribution: Ubuntu - Fedora - or whatever works or gets handed to me.
Posts: 119

Rep: Reputation: 15
mounting ntfs partitions as a user in suse8.2


hi guys in suse8.0 i log as a user and created 2 dirs /anubis /osiris , then i mounted them as a user and read only.
i had /horus on a fat32 part and mounted as read write.
now on suse8.2 I cant, i did not upgrade I did a fresh install so the question is
how can I have the same thing now.
hda1 ntfs readonly and mount as user
hdb1 vfat readwrite and mount as user
hdd1 ntfs readonly and mount as user

I dont remember well about chmod chown so any help is very much welcome.

thanks guys!
its a shame because 4 years ago i would of done it , but I got to dumb on using graphical interfaces.
 
Old 08-29-2003, 01:36 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
First of all, you will need NTFS support.
If you do not know if NTFS support is present, type the following command and take a look at the output.
Code:
more /proc/filesystems
You will need to add an entry for each HDD in your /etc/fstab
The lines should look something like this:
Code:
/dev/hdaX               /mnt/windows98          vfat    defaults,user        0 0
/dev/hdaX               /mnt/windowsXP          ntfs    defaults,user,ro        0 0
Note
NTFS support is Read-Only.
Do NOT write to NTFS from Linux.
It may corrupt your NTFS filesystem.

Last edited by Mathieu; 08-29-2003 at 01:38 PM.
 
Old 08-29-2003, 01:43 PM   #3
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
You can't use chmod or chown to change permissions because they're Windows partitions. Add "umask=0" next to the options "defaults,user" and "defaults,user,ro" to set their default permissions to rwxrwxrwx
 
Old 08-29-2003, 03:19 PM   #4
Anubis
Member
 
Registered: Mar 2002
Location: /dev/null
Distribution: Ubuntu - Fedora - or whatever works or gets handed to me.
Posts: 119

Original Poster
Rep: Reputation: 15
the owner permision was for the dirs /windows /windowsb etc so as a user i counld mount them , only for that.
 
Old 08-29-2003, 05:02 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
A typical line for mounting NTFS automatically on boot-up...

/dev/hda1 /mnt/windowsXP ntfs auto,ro,umask=0222 0 0
 
Old 08-29-2003, 06:07 PM   #6
nonamenobody
Member
 
Registered: Oct 2002
Posts: 138

Rep: Reputation: 22
If you post your '/etc/fstab' then someone can tell what changes to make.

The key to making a partition user mountable is too have the option 'users' in the list of options in the fstab entry for the partition.
 
Old 08-31-2003, 05:07 PM   #7
Anubis
Member
 
Registered: Mar 2002
Location: /dev/null
Distribution: Ubuntu - Fedora - or whatever works or gets handed to me.
Posts: 119

Original Poster
Rep: Reputation: 15
thanks guy!
 
  


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 partitions question danritter Linux - Newbie 2 09-12-2005 02:14 AM
Mounting NTFS Partitions on Ubuntu vivekian Ubuntu 2 08-01-2005 10:34 AM
mounting ntfs partitions on fedora core 2 amebimus Linux - Newbie 7 04-03-2005 11:27 AM
Mounting NTFS Partitions in RH9 smevans Red Hat 26 11-09-2003 02:47 PM
Mounting NTFS Partitions TheMad Slackware 8 01-21-2003 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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