NTFS Hardrive Permissions

Hey, everybody. Quick question. I just made the jump from Ubuntu using GNOME to OpenSUSE 10.3 KDE 4.1.

I have two hard drives. One has XP and OpenSUSE on it along with a separate partition labled Documents. The other hard drive is labled Music (for obvious reasons). When I installed OpenSUSE I labled the Documetns partition and the Music hard drive accordingly. Both of these are mounted under root i.e. /Music /Documents.

The problem is that I can’t seem to change the permission on these drives. I’ve tried from the terminal, kdesu Dolphin, kdesu Konqueror and even loging in a root session.

What gives? What should I do to be able to write to these drives? I had no problem accessing them in Ubuntu.

openSUSE-10.3 with KDE-4.1 ? Thats not very common.

Are these two partitions NTFS? I take it you can read but not write to them?

You can find out what drives/partitions are mounted by typing in a konsole:
df -h

You can find out what drives/partitions are recognized (which may be different from mounted) by typing in a konsole:
fdisk -l
(enter root password when prompted).

If your drives are ntfs, then you need to properly setup the ntfs-3g driver to provide read-write.

There is more guidance on that here:
NTFS - openSUSE

Typically that means you will need to edit your /etc/fstab file and reboot. Be very careful when you do edits to that file, as a bad edit will stop your PC from booting.

On 2008-08-02, narehart <narehart@no-mx.forums.opensuse.org> wrote:

> I have two hard drives. One has XP and OpenSUSE on it along with a
> separate partition labled Documents. The other hard drive is labled
> Music (for obvious reasons). When I installed OpenSUSE I labled the
> Documetns partition and the Music hard drive accordingly. Both of these
> are mounted under root i.e. /Music /Documents.

Would have been better in /mnt/Music and /mnt/Documents.
But that has nothing to do with your problems, of course.

> The problem is that I can’t seem to change the permission on these
> drives. I’ve tried from the terminal, kdesu Dolphin, kdesu Konqueror
> and even loging in a root session.

You probably don’t need to change any permissions.
Are you sure the partitions aren’t mounted using the ntfs driver ?
If so, you should use the ntfs-3g driver instead.

Why don’t you post your etc/fstab, to show your current configuration ?


The sand remembers once there was beach and sunshine
but chip is warm too
– haiku from Effector Online, Volume 1, Number 6

Thanks for the responses and sorry I said 10.3 I meant 11. Anyway, Here’s what I have going on. I tried df -h which produced this:

Filesystem            Size  Used Avail Use% Mounted on
/dev/sdc2             9.7G  2.6G  6.6G  29% /
udev                 1012M  112K 1012M   1% /dev
/dev/sdc6             173G   30G  143G  18% /Documents
/dev/sda1              38G  9.9G   28G  27% /Music
/dev/sdc1              30G   28G  1.7G  95% /XP
/dev/sdc5              20G  3.2G   16G  18% /home
/dev/sdb1              75G   67M   75G   1% /windows/D

But fdisk -l doesn’t work. I tried that command before I started this thread to get some idea of what was being recognized. Unfortunately, all I get is this error:

bash: fdisk: command not found

Finally, here’s my fstab:

/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE2DFDV-part3 swap                 swap       defaults              0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE2DFDV-part2 /                    ext3       acl,user_xattr        1 1
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE2DFDV-part6 /Documents           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_MAXTOR_6L040J2_662200633140-part1 /Music               ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE2DFDV-part1 /XP                  ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_ST3250820AS_9QE2DFDV-part5 /home                ext3       acl,user_xattr        1 2
/dev/disk/by-id/scsi-SATA_WDC_WD800EB-00DWD-WCAHL6195511-part1 /windows/D           ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

It seems that the NTFS partitions are being mounted with ntfs-3g but I still can’t set permissions as root or otherwise. Anymore suggestions?

try installing ntfs-g configuration tool might help out on setting up read-write permissions

I managed to gain read-write access after reading the link provided by oldcpu. I just needed to modify /etc/fstab to reflect umask=0002. Thanks for the help guys.

This is me screwing up again.

I’m having memory lapses? Senility is catching up with me?

I had intended to type:
**su -c ‘fdisk -l’ **
and enter root password when prompted. …

If I had not seen the evidence of my own mistaken post in front of me, I would not have believed my mistake. … < sigh > … definitely memory lapses.