LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-20-2004, 10:22 AM   #1
uv1
LQ Newbie
 
Registered: Jun 2004
Distribution: mandrake 9.2
Posts: 14

Rep: Reputation: 0
mounting ntfs disk


i'm experiencing trouble mounting my second hard drive, of type ntfs.
my distro is mandrake 9.2.

mount -t ntfs /dev/hdb /mnt/juhta

bash returns error

mount: mount point /mnt/juhta does not exist


i am a newbie, so if there's a faq please point me to it
 
Old 08-20-2004, 10:33 AM   #2
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
mkdir /mnt/juhta

The directory has to exist in order for something to be mounted there
 
Old 08-20-2004, 12:44 PM   #3
uv1
LQ Newbie
 
Registered: Jun 2004
Distribution: mandrake 9.2
Posts: 14

Original Poster
Rep: Reputation: 0
oops

another problem: how can i change the permissions for the dir /mnt/juhta (and for its subdirectories and other read-only directories)?
i need to permit read access for all users not just for root only, for some files on the ntfs drive.

Last edited by uv1; 08-20-2004 at 12:46 PM.
 
Old 08-20-2004, 05:47 PM   #4
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
man chmod

man chown

Chmod is the command to change the permissions on a file, and chown is the command to change the ownership of a file.

The Rute Guide has a nice node on File Permissions for those new to the UNIX Way: http://www.icon.co.za/~psheer/book/node17.html.gz

In short a file with this: '-rwxr-xr-x' would have read-write-execute for the owner, read-execute for the group, and read-execute for everyone else. To give these permissions to a file you do: 'chmod +755 myfile'

Check out the rest of the Rute Guide and maybe bookmark it, it is a great starting-point for new Linux users!
 
Old 08-21-2004, 11:45 AM   #5
uv1
LQ Newbie
 
Registered: Jun 2004
Distribution: mandrake 9.2
Posts: 14

Original Poster
Rep: Reputation: 0
thank you

but the bash returns error

chmod: changing permissions of `juhta/': Read-only file system
 
Old 08-21-2004, 12:39 PM   #6
peace
Member
 
Registered: Jul 2003
Location: Canada
Posts: 214

Rep: Reputation: 31
Yes, Linux has sketchy NTFS write support. Most likely, you only have NTFS drivers that handle reading a partition (this is normal).

Since write-support is experimental, I would not recommend trying it. Here is a response from the Linux NTFS Project: http://linux-ntfs.sourceforge.net/info/ntfs.html#3.2.

I always use FAT32 on my Windows partitions for precisely this reason!
 
Old 08-22-2004, 08:34 AM   #7
uv1
LQ Newbie
 
Registered: Jun 2004
Distribution: mandrake 9.2
Posts: 14

Original Poster
Rep: Reputation: 0
so it is not possible to allow other users than root to access ntfs mounted disks?
 
Old 08-22-2004, 09:15 AM   #8
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

It's possible try this command:
Code:
mount -t ntfs -o umask=000 /dev/hdb /mnt/juhta
It will give you full read access for everyone (as ntfs is not writeable)...

Oliv'
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting NTFS RedHatCore Linux - Newbie 7 08-24-2005 12:16 AM
mounting ntfs terfy Debian 11 01-09-2005 02:42 PM
mounting ntfs narendra_i Linux - Hardware 2 02-17-2004 01:24 PM
Mounting NTFS. dolvmin Linux - Software 4 08-03-2003 03:04 PM
getting mp3s from ntfs disk to linux disk infamous41md Linux - Newbie 19 03-31-2003 12:32 PM

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

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