LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-02-2007, 09:12 AM   #1
deathmonkey6
LQ Newbie
 
Registered: Aug 2004
Location: NYC
Distribution: Pop!_OS 18.10
Posts: 22

Rep: Reputation: 0
ntfs mounting problem: reads but can't copy


Hi all.

I am having a problem with mounting an ntfs drive on Ubuntu Dapper Drake. Or rather, the drive seems to mount, but then I can't get anything off of it.

I mount the drive like so:
sudo mount /dev/hdd5 /mnt/windows/av
(Sometimes I try the -r flag, but it makes no difference that I can tell.) The drive appears to mount fine. Using a terminal, I am able to do something like:
sudo ls -l "/mnt/windows/av/h-mp3z/Delerium - Karma"
and it will happily show me all the files in the directory. BUT, when I then try:
sudo cp "/mnt/windows/av/h-mp3z/Delerium - Karma/*" /home/jim
I get a "No such file or directory" message (referring to the first argument, not to /home/jim). Further, when I try to open the mounted drive with a file browser, I get this message:
You do not have the permissions necessary to view the contents of av.
wtf?

I have tried changing the permissions of /mnt/windows/av, as well as of /dev/hdd5 (but even sudo can't do it, so that was a longshot in the dark).

My /etc/fstab looks something like
/dev/hdd5 /mnt/windows/av ntfs defaults 0 0
(although I have also tried specifying ro,user,exec,sync, etc).

This has me absolutely perplexed. Any help would be greatly appreciated.

Thanks, all.

--jim
 
Old 03-02-2007, 10:02 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Install ntfs-3g then mount an ntfs partition like this:

mount -t ntfs-3g /dev/X /mountpoint
 
Old 03-02-2007, 10:14 AM   #3
deathmonkey6
LQ Newbie
 
Registered: Aug 2004
Location: NYC
Distribution: Pop!_OS 18.10
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73
Install ntfs-3g then mount an ntfs partition like this:

mount -t ntfs-3g /dev/X /mountpoint

It's just that easy, eh?

Thanks -- I'll try it as soon as I get a chance.

--jim
 
Old 03-02-2007, 11:21 AM   #4
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
Add something like this to /etc/fstab

/mnt/windows/av /dev/hdd5 ntfs-3g noexec,rw,auto,umask=0000 0 0
 
  


Reply

Tags
fstab, mnt, mount, ntfs



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
Linux reads NTFS partition, WinNT can't. WHY? JZL240I-U Linux - Software 12 02-18-2005 06:54 AM
NTFS Mounting problem, please help... k0rupt Linux - Hardware 2 08-01-2004 05:46 PM
Problem Mounting NTFS Nigh Unstoppabl Slackware 4 07-14-2004 05:26 PM
problem with mounting ntfs narendra_i Linux - Hardware 2 01-26-2004 08:06 PM
Problem Mounting NTFS sname Linux - General 2 08-16-2002 03:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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