LinuxQuestions.org
Visit Jeremy's Blog.
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 09-05-2005, 03:32 AM   #1
threedguy
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandriva LE 2005
Posts: 19

Rep: Reputation: 0
Capture ntfs support in mandriva


I've been working on getting Capture to work with Mandriva for some time now. I finally got it installed; I've gone through the configuration and installed my windows xp ntfs.sys and ntoskrnl.exe files without any trouble, and I can even write new files to my ntfs hard drive, but it only works when I'm logged in as root. How can I get it to work when I'm logged in as a user? For reference, I have been following this guide from Configuring Capture down: http://gentoo-wiki.com/HOWTO_NTFS_wr...ptive_approach

and this is my fstab file:

Quote:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda1 / ext3 defaults 1 1
/dev/hda6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom iso9660 user,iocharset=iso8859-1,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
# /dev/hdd1 /mnt/win_c2 ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
# /dev/hdd1 /mnt/captive-presario captive-ntfs defaults,noauto 0 0
/dev/hdd1 /mnt/captive-presario captive-ntfs user 0 0
any ideas?
 
Old 09-05-2005, 08:36 PM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
I think that just using "sudo chmod a+r" on those files should work - it'll allow read the files, which will hopefully make it work!

If that doesn't, then try "sudo chmod 774". That gives full permissions to user and group, but gives World read-only access.

One of those should've worked, although to tell you the truth I'm not entirely sure! If using "sudo chmod 774" doesn't work, then you could always try "sudo chmod 777", and give World full access as well. I hope this works!

J_K9

Last edited by J_K9; 09-05-2005 at 08:40 PM.
 
Old 09-05-2005, 10:08 PM   #3
threedguy
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandriva LE 2005
Posts: 19

Original Poster
Rep: Reputation: 0
Now that I've had some sleep, I realize I called the program Capture instead of Captive... my mistake. Anyway, how does that code work? Is it a one time deal in the console or does it need to go in my fstab file? I'm still relatively new to linux, although I've seen the horrors of installing things before.


Edit: ok, I've had some other configuring to do with other issues and learned good and well about the chmod command. I tried it on my mount and it didn't work. Here's the terminal output:

Quote:
[user@ ~]$ su
[root@ user]# chmod 777 /mnt/captive-presario
chmod: changing permissions of `/mnt/captive-presario': Operation not permitted
[root@ user]#
so that didn't work...

Also, i've found captive is not so good at reading ntfs either, anything below the first level comes back with errors. Maybe it's only good for writing to ntfs.

Last edited by threedguy; 09-06-2005 at 12:10 AM.
 
Old 09-06-2005, 01:14 AM   #4
threedguy
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandriva LE 2005
Posts: 19

Original Poster
Rep: Reputation: 0
RAWRG!!!! ok, i've been fiddling with this for a while now and somehow i reached a point where i can't even read my hard drive as a user when I use the ntfs mount switch. i get this error when i try to access it: You do not have enough permissions to read file:/mnt/win_c2

I can still read with the captive-ntfs switch, but i still can't write as a user, and read isn't very fast with captive-ntfs. Here is my fstab:

Quote:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda1 / ext3 defaults 1 1
/dev/hda6 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom iso9660 user,iocharset=iso8859-1,noauto,ro,exec 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hdd1 /mnt/win_c2 ntfs ro,noauto,user,sync 0 0
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/hdd1 /mnt/captive-presario captive-ntfs rw,noauto,user,sync 0 0
sometimes i wonder if it would just be better to log in as root all the time...
 
Old 09-06-2005, 05:11 PM   #5
threedguy
LQ Newbie
 
Registered: Oct 2003
Distribution: Mandriva LE 2005
Posts: 19

Original Poster
Rep: Reputation: 0
OK, i'm back on track now. I replaced the ntfs code in the fstab with the old version i had posted here and something in there fixed the problem. I think it was the umask=0. Oh, and I added the user switch to it so a user can mount the hard drive. So basically i changed this:

/dev/hdd1 /mnt/win_c2 ntfs ro,noauto,user,sync 0 0

to this:

/dev/hdd1 /mnt/win_c2 ntfs umask=0,nls=iso8859-1,ro,user 0 0

I still can't write in user mode though, so if anyone at all can help with this, let me know. I think i've reached the level of advanced newblet now so i'm getting better.
 
Old 09-26-2005, 12:13 AM   #6
cowlip
LQ Newbie
 
Registered: Sep 2005
Posts: 3

Rep: Reputation: 0
Hi http://www.linuxquestions.org/questi...tfs+user+mount

Use that: auto,rw,gid=users,uid=emcee,users in your /etc/fstab, but replace emcee with your username
 
  


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
SELinux support in Mandriva? registering Mandriva 7 08-19-2005 03:47 AM
Mandriva 10.2 Xbox console support? Lakota Mandriva 5 07-07-2005 03:27 AM
how to Capture NTFS with Knoppix 3.6 dagrafixman Linux - Newbie 2 10-25-2004 10:01 AM
Some hard questions I believe -Channel Bindings(soundcard), ntfs-capture and apm?? Nihongoga Slackware 12 07-22-2004 12:25 PM
Capture support for dvd and video capture in linux is it even going to be real ever? maximalred Linux - Distributions 3 07-06-2003 07:29 PM

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

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