LinuxQuestions.org
Review your favorite Linux distribution.
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 09-28-2005, 04:58 PM   #16
bunnyrage
Member
 
Registered: Sep 2005
Distribution: Fedora Core 2
Posts: 34

Rep: Reputation: 15

by the way what are you doing??

what do you do for a living??
 
Old 09-28-2005, 08:38 PM   #17
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
add "user" to the partition's options in the fstab!

And I read from NTFS all the time, I keep my mp3's on a drive formatted with NTFS!

Last edited by Charred; 09-28-2005 at 08:41 PM.
 
Old 09-29-2005, 09:05 AM   #18
mouldy_punk
Member
 
Registered: Jul 2004
Distribution: Slackware/SuSE/Mandriva/Ubuntu
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bunnyrage
chmod 777 /dev/hd*

i know you can access them but i dont know what good its going to do, who knows you may very weel be able to

chmod should change your permissions
I tried chmod, didn't make any difference :\

Charred: What syntax do I use to add users to the fstab? Do I just write;

/dev/hdc1 /mnt/C ntfs ro, user 0 0
or
/dev/hdc1 /mnt/C ntfs ro user 0 0

?

Quote:
by the way what are you doing??

what do you do for a living??
Unemployed, 17 years old, college student

Last edited by mouldy_punk; 09-29-2005 at 09:23 AM.
 
Old 09-29-2005, 11:18 AM   #19
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Here's the fstab from my laptop:
Quote:
/dev/hda1 swap swap defaults 0 0
/dev/hda2 / ext3 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
 
Old 09-29-2005, 11:30 AM   #20
bunnyrage
Member
 
Registered: Sep 2005
Distribution: Fedora Core 2
Posts: 34

Rep: Reputation: 15
punk: thats cool.

college,

but i saw some one was able to mount an ntfs partition,
didnt know if it was you??
 
Old 09-29-2005, 11:52 AM   #21
mouldy_punk
Member
 
Registered: Jul 2004
Distribution: Slackware/SuSE/Mandriva/Ubuntu
Posts: 78

Original Poster
Rep: Reputation: 15
yeah...it was me who mounted the ntfs partition - check my earlier post :\


Charred: Thanks
 
Old 09-29-2005, 12:06 PM   #22
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Anytime. Let us know how it goes.
 
Old 09-29-2005, 12:09 PM   #23
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
well you need to look up umask gid uid options the way you have it now only root will be able to access the drives.

man mount
 
Old 09-29-2005, 12:31 PM   #24
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Hmmm...
Forgot about that. Shame on me!
 
Old 09-29-2005, 01:50 PM   #25
mouldy_punk
Member
 
Registered: Jul 2004
Distribution: Slackware/SuSE/Mandriva/Ubuntu
Posts: 78

Original Poster
Rep: Reputation: 15
Ok, I added users, but like Boow said, only root can access the drives. How do I do the uid and gid thing? I had a look at man mount and this is what I've figured out;

/dev/hdc1 /mnt/C ntfs ro,user,uid=1000 gid=1000 0 0

1000 being the user ID of my account and also the group ID of my account...is that right? What do I do with umask?
 
Old 09-29-2005, 02:49 PM   #26
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
According to man mount
Quote:
Mount options for ntfs:
iocharset=name
Character set to use when returning file names. Unlike VFAT, NTFS suppresses names that contain unconvertible characters.
utf8
Use UTF-8 for converting file names.
uni_xlate=[0|1|2]
For 0 (or `no' or `false'), do not use escape sequences for unknown Unicode characters. For 1 (or `yes' or `true') or 2, use vfat-style 4-byte escape sequences starting with ":". Here 2 give a little-endian encoding and 1 a byteswapped bigendian encoding.
posix=[0|1]
If enabled (posix=1), the file system distinguishes between upper and lower case. The 8.3 alias names are presented as hard links instead of being suppressed.
[uid=value, gid=value and umask=value
Set the file permission on the filesystem. By default, the files are owned by root and not readable by somebody else. The umask value is given in octal.
Try something like
Code:
 /dev/Y /mnt/X ntfs users,owner,ro,umask=000 0 0
Edit:
Try man chmod for more.

Last edited by Charred; 09-29-2005 at 02:51 PM.
 
Old 09-29-2005, 03:07 PM   #27
mouldy_punk
Member
 
Registered: Jul 2004
Distribution: Slackware/SuSE/Mandriva/Ubuntu
Posts: 78

Original Poster
Rep: Reputation: 15
Hooray it worked!


Just one more little question though, how do I change the drive order in the Places menu (gnome)


At the moment it's like:

Home Folder
Desktop
-------------------
Computer
E
D
C
------------------
Network Servers
Connect to Server
-------------------
Search for files
Recent Documents >

and I would like it like:


Home Folder
Desktop
-------------------
Computer
C
D
E
------------------
Network Servers
Connect to Server
-------------------
Search for files
Recent Documents >
 
Old 10-03-2005, 09:31 PM   #28
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
This is all I could find:http://ubuntuforums.org/archive/index.php/t-40603.html
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
What is fstab? sceadu Linux - Newbie 2 11-02-2004 07:25 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Help with /etc/fstab wawosz Linux - General 3 04-24-2003 02:12 PM

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

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