No write permission in Ext. HD: Newbie question

I’M a NEWBIE FOR SUSE.

I’ve version 10.3 installed in it which is most satisfactory for my requierments. I’ve a NTFS format external harddrive(130 GB Maxtor) which runs on my Win XP perfectly.

However while using that in suse, I’m denied write permission. can anyone help me to solve this problem please.

I’m the sole user of the comp, and work as root.

susenlighted wrote:

> However while using that in suse, I’m denied write permission. can
> anyone help me to solve this problem please.

What mount statement do you use?

> I’m the sole user of the comp, and work as root.

You should NEVER run as root. Besides the damage that can result from a slight
mistyping of a command, you are a security hazard for the rest of us. If anyone
is able to penetrate your system, they have full root privilege and can turn
your machine into a net zombie.

excellent how-to at swerdna’s site… HowTo Mount NTFS Filesystem Partition Read Write Access in openSUSE 10, 11 . If you are the only user, the automount method might be easiest, but give some thought before deciding because all ntfs drives will be mounted rw.

in addition, i’ve found the ntfs-conf tool useful in mounting drives internal or external, but that requires a umount from root to safely remove, whereas the automount method swerdna describes can be “safely removed” by user right clicking the drive in dolphin and selecting the option.

@j_xavier thanks for the compliment. I defo recommend the automount over the entry in fstab for an external usb drive. The problem with an external usb drive havibg an entry in fstab is that if you turn it off by accident (or by design) between bootings, it can sometimes halt the next boot at the command line login – no gui – panic :beat-up: etc. But the “automount” method doesn’t do that to you.

Thanks all now I can now write to the external hard drive.

I think I lost some systems file after a virus attack. I’have a backup of the windows files. I tried to put the files back in the windows folders thru linux by properly mounting the NTFS drive. But it doesn’t work that way as there was some problems with windows. Even the ‘force’ option in mount -t ntfs-3g /dev/sda1 /media/cdrive -o force doesn’t work.

Can anyone tell how to write files in the windows partition from linux?

Thanks in advance

Just to clarify in what you’re trying to archieve…

You got

  1. A Windows (NTFS) Partition mounted
  2. An External USB NTFS DISK

You sorted the issues with 2 and now have full rights to it
and are trying to overwrite the files on 1 with files from 2?

If this is what you’re trying to do and it’s failing cause you do not have write rights on 1 then check out NTFS - openSUSE.

But as you seem to have suffered from a virus? You might want to check both partitions with ClamAV (seems like they got a nice how-to-use-it at ubuntu)

thanks for replying. Mysteriously ‘mount -t ntfs-3g…-o force’ now works with my windows ntfs partition and I can write to it. I’ll check ClamAV