Fedora Linux Support Community & Resources Center
  #1  
Old 11th January 2006, 12:02 AM
tankcntdrv55 Offline
Registered User
 
Join Date: Jan 2006
Posts: 56
ntfs permissions

i have a 250 gig external drive i use to hold my media
formatted as NTFS
it is full so i don't need write support anyhow i just want to be able to read it from my user login, not just as root, but i cannot change the permission because it is a unwritable drive

any way to fix this?
Reply With Quote
  #2  
Old 11th January 2006, 12:09 AM
axelseap's Avatar
axelseap Offline
Registered User
 
Join Date: Dec 2005
Posts: 455
yes u can use either uid or umask here's an example of each
Code:
mount -t ntfs /dev/sda1 /mnt/tmp -o umask=0222
mount -t ntfs /dev/sda1 /mnt/tmp -o uid=youraccount
the difference is that umask changes the actual permissions and uid changes the owner
Reply With Quote
  #3  
Old 11th January 2006, 01:34 AM
fire-fly Offline
Registered User
 
Join Date: Aug 2004
Posts: 269
Quote:
Originally Posted by axelseap
yes u can use either uid or umask here's an example of each
Code:
mount -t ntfs /dev/sda1 /mnt/tmp -o umask=0222
mount -t ntfs /dev/sda1 /mnt/tmp -o uid=youraccount
the difference is that umask changes the actual permissions and uid changes the owner

Is your drive an usb drive ? Was it mount by hotplug and mount by fstab-sync ? ( take a look at /etc/fstab ) ?
If so, above steps WON'T work. Let me know, I want to the procedure but no motivation.
Reply With Quote
  #4  
Old 11th January 2006, 04:21 AM
tankcntdrv55 Offline
Registered User
 
Join Date: Jan 2006
Posts: 56
it is a USB drive, ( a maxtor one touch that i gutted and put a WD drive in.... how's that for blasphemy? I think i voided my warrenty)

i removed the device from fstab and used the above lines in the console and it worked perfectly
Reply With Quote
  #5  
Old 11th January 2006, 04:53 AM
fire-fly Offline
Registered User
 
Join Date: Aug 2004
Posts: 269
did you rebooted the system ? Mostly will be added it again. If so you need to modified /etc/hal/fdi/policy/storage-skip-all.fdi will prevent it from mounting.
Reply With Quote
  #6  
Old 11th January 2006, 04:56 AM
tankcntdrv55 Offline
Registered User
 
Join Date: Jan 2006
Posts: 56
right on the money.. ba$tards mounted it again

could you be a little more clear on what to modify to prevent this? I'm not a total newB but this is part is pretty new to me
Reply With Quote
  #7  
Old 11th January 2006, 05:16 AM
fire-fly Offline
Registered User
 
Join Date: Aug 2004
Posts: 269
Hi
sorry for that is you must find some information about your drive, which I had to recall. I had Maxtor drive too. Try below.
1. backup /etc/hal/fdi/policy/storage-skip-all.fdi
2. Edit as below.
3. Edit /etc/fstab as you done before
3. Reboot system.

( Now if it add the statement in /etc/fstab, that means <match key="info.vendor" string="Maxtor 6"> . I need to some digging. keep me inform )

<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<!-- This .fdi files will tag all storage devices as non mountable -->
<deviceinfo version="0.2">
<device>
<match key="info.category" string="storage">
<match key="info.vendor" string="Maxtor 6">
<merge key="storage.policy.should_mount" type="bool">false</merge>
</match>
</match>
</device>
</deviceinfo>
Reply With Quote
  #8  
Old 11th January 2006, 04:55 PM
fire-fly Offline
Registered User
 
Join Date: Aug 2004
Posts: 269
Hi
Ok, I wrote a simple instructions see http://busybody.501megs.com//linux/h...ingOption.html
Reply With Quote
  #9  
Old 14th January 2006, 10:21 PM
tankcntdrv55 Offline
Registered User
 
Join Date: Jan 2006
Posts: 56
worked perfectly

thank you very much, sory it took so long to try, but i've been busy this week
Reply With Quote
Reply

Tags
ntfs, permissions

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
NTFS Permissions Belderan Hardware & Laptops 7 21st August 2006 01:12 PM
NTFS Permissions sucafish Using Fedora 1 27th July 2005 10:42 PM
NTFS Permissions arl Using Fedora 1 14th July 2005 01:04 AM
NTFS Permissions in FC2 mustangfanatic EOL (End Of Life) Versions 4 16th October 2004 10:12 AM


Current GMT-time: 21:58 (Sunday, 19-05-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