Fedora Linux Support Community & Resources Center
  #1  
Old 1st February 2008, 01:58 AM
jimmy2975 Offline
Registered User
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Posts: 327
Unable to write to NTFS HD as user

HI,

I have an external HD. It is partitioned at NTFS in windwos and I use FC8 and use ntfs-3g

fdisk -l is
/dev/sdc1 1 60801 488384001 7 HPFS/NTFS

ls -l as user shows

drwxrwxrwx 1 root root 0 2008-01-31 10:19 back_up
drwxrwxrwx 1 root root 4096 2008-01-27 09:12 Data
drwxrwxrwx 1 root root 0 2008-01-20 18:29 laptop_01202008
drwxrwxrwx 1 root root 0 2008-01-31 07:50 mm
drwxrwxrwx 1 root root 0 2008-01-29 13:47 System Volume Information
drwxrwxrwx 1 root root 0 2008-01-31 19:27 unison-folderB

The drive mount prpoperly but I cant write to it as user. I can only wrtote to it as root.
My fstab is
/dev/sdc1 /media/my_book ntfs-3g rw,dmask=000,fmask=000 0 0

I have also tried defaults,umask=000 0 0

I have also tried chmod 777 /media/my_book.

Please help. Any comments/suggestions are appreciated

Thanks
Jimmy
Reply With Quote
  #2  
Old 1st February 2008, 02:20 AM
stoat Offline
Registered User
 
Join Date: Jun 2006
Posts: 7,551
Try it this way...
Code:
/dev/sdc1   /media/my_book   ntfs-3g   user,umask=0000 0 0
The default vis-a-vis user/nouser is nouser.
Reply With Quote
  #3  
Old 1st February 2008, 02:46 AM
jimmy2975 Offline
Registered User
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Posts: 327
No juice mate!

THis is really not making sense to me.

Any ideas?

thanks
jimmy
Reply With Quote
  #4  
Old 1st February 2008, 02:54 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,346
What are the perms/owns of the DIRECTORY those files are in ?

Can you show a nexample of the failure.

As a user "echo foo > ...../foobar"
Reply With Quote
  #5  
Old 1st February 2008, 03:18 AM
jimmy2975 Offline
Registered User
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Posts: 327
If this is what you mean.

[jimmy@linuxhome ~]$ echo foo > /media/my_book/foobar
[jimmy@linuxhome ~]$

Jimmy
Reply With Quote
  #6  
Old 1st February 2008, 03:56 AM
jimmy2975 Offline
Registered User
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Posts: 327
when I right click on the drive an dchoose permissions it says
owner=root
group=root

How do I change the owner and gropu to user?

THnaks
Jimmy
Reply With Quote
  #7  
Old 1st February 2008, 04:10 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
Quote:
Originally Posted by jimmy2975
when I right click on the drive an dchoose permissions it says
owner=root
group=root

How do I change the owner and gropu to user?

THnaks
Jimmy

Try

Code:
su
chown  jimmy:jimmy  /media/my_book
__________________
My Hardware
- CPU: AMD Phenom II X6 Hex Core 1055T 95W Edition @3.5Ghz
- Motherboard: Gigabyte GA-880GM-UD2H
- Cooler: Corsair H50 CPU Cooler
- RAM: Corsair Dominator 8GB (4x2GB) DDR3 1600MHz
- Graphics: Gigabyte GeForce GTS 450 OC 1024MB GDDR5
Reply With Quote
  #8  
Old 1st February 2008, 04:16 AM
jimmy2975 Offline
Registered User
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Posts: 327
I did that and to no avail.

I also tried chgrp and althiugh it said it changed the group the permissions tab says it belongs to root

JImmy
Reply With Quote
  #9  
Old 1st February 2008, 05:26 PM
Magnar Offline
Registered User
 
Join Date: Dec 2007
Posts: 68
Quote:
Originally Posted by jimmy2975
If this is what you mean.

[jimmy@linuxhome ~]$ echo foo > /media/my_book/foobar
[jimmy@linuxhome ~]$

Jimmy
Shouldn't you get an error here if you're not allowed to write?
Reply With Quote
  #10  
Old 1st February 2008, 06:03 PM
jimmy2975 Offline
Registered User
 
Join Date: Apr 2006
Location: Pittsburgh, PA
Posts: 327
YES, there should be an error if I am not able to write. And it does write it properly. For some other reasons (maybe) the Unison (file sync program) says permission denied when I write to it as user. Anyway I have reformatted it as fat32 now.

Thanks for all the help and suggestions everyone !

Jimmy
Reply With Quote
Reply

Tags
ntfs, unable, user, write

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
write ntfs on Fc6 carlainz Using Fedora 4 25th February 2007 05:02 PM
Read / Write access on NTFS using Linux-NTFS andrewski Using Fedora 14 27th March 2006 02:22 PM
Can FC5 Write to NTFS tidy_boy Using Fedora 4 25th March 2006 09:59 PM
write to a NTFS Clunixchit Using Fedora 2 9th February 2005 09:50 AM


Current GMT-time: 06:18 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat