Hi all. Hope this is the right sub-forum to post.
I use dual boot in the lap, Windows 7 Ultimate x64 and openSUSE 11.3 x64, plus another NTFS partition dedicated for data. When I browse normally with Dolphin the 2 NTFS partitions I can see and browse them, but it doesn’t allow me to write data (create new files or paste) or modify saved files. It’s like a read-only partition. I have to run Dolphin browser as root in order to be able to normally write and modify data. Some other pals however tell me they’re able to do it without running as root, although they use openSUSE x86.
Is this normal in my case? Or else what can I do? Thanks.
Yes it is normal if the partitions is mounted by root en belongs to root . You have to use the options uuid=xxx,gid=xxx in /etc/fstab, so the partitions and all the files belong to you. (xxx beeing your user/group ID). There should be a way to do that within YaST, I’m sure someone will explain it right away.
Add them to fstab
FSTAB - Editing Manually
I use the partioner to mount my nfts partitions automatically!
Open the Partioner, hit Yes…choose the partitions to mount…hit(mouse right button) in edit…in “Mounting Options” click in “Mount Partition”…in “Mount Point” choose a directory to mount automaticaly on login…I use /Archives… hit in “fstab option” on “Arbitrary option value” overwrite the commands to “default” (to Write/Read permissions) finish
root/Archives…I add shortcuts/Entry to Dolphin!
I know it’s been a while since I wrote in this thread, but I got new doubts. Firstly, I was very dumb for not seeing that the entire Root red folder is actually read-only for normal user, and since Windows partitions are mounted in Root, it’s obvious they’re also by default read-only. Even my other pals also confirmed it.
Now, according to what Please_try_again and Caf4926 said, I should open the fstab file, locate my 2 Windows partitions, and adding them the options uuid=(user),gid=(user). Currently the partitions have the options “users,gid=users,fmask=133,dmask=122,locale=es_ES.UTF-8 0 0”, with the last 2 0’s highlighted in brown.
What would suggested uuid and gid options do? Would it make read/writable only the 2 mentioned partitions and leaving the rest of Root read-only? Or should I try options mentioned here: SDB:Access your Windows files - openSUSE? Seems the more I search the more I get confused…
Reason I came back to this topic is I want to run some Windows apps with Wine directly from the NTFS partition, say an emulator. It runs, but when trying to save on the corresponding save file, throws a fatal error. Must be because as normal user I can’t save in a Root directory. I guess I’d need to run the emu through root-mode Dolphin, but Wine should NEVER be run as root: http://wiki.winehq.org/FAQ#head-96bebfa287b4288974de0df23351f278b0d41014. Hence my doubts.
Thanks for help.
How about posting the result of
cat /etc/fstab
And just confirm you want read write for user to ntfs?!
And I’ll edit the fstab info for you to change on your system
Result:
/dev/disk/by-id/ata-ST9160821AS_5MA3HSPY-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-ST9160821AS_5MA3HSPY-part6 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST9160821AS_5MA3HSPY-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=es_ES.UTF-8 0 0
/dev/disk/by-id/ata-ST9160821AS_5MA3HSPY-part2 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=es_ES.UTF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
You sound like with a warning tone, as though it was not supposed to be this way or it wasn’t a common practice… Maybe it’s not, but then I’d like to learn how to modify just the 2 or even just one of the NTFS partitions (or mounted folders if they can be called this way) to be read-write, and the rest of Root untouched. I already explained what I’m seeking, and I don’t understand 100% Alexdbars’ suggestion yet, so any other -perhaps safer- suggestions are also apreciated.
Make it like this
/dev/disk/by-id/ata-ST9160821AS_5MA3HSPY-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-ST9160821AS_5MA3HSPY-part6 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST9160821AS_5MA3HSPY-part1 /windows/C ntfs-3g defaults 0 0
/dev/disk/by-id/ata-ST9160821AS_5MA3HSPY-part2 /windows/D ntfs-3g defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
To edit the file in kde it’s
kdesu kwrite /etc/fstab
in gnome
gnomesu gedit /etc/fstab
then reboot
This is a little guide I did
FSTAB - Editing Manually
Thanks. I had already read your guide. What worried me was wether it’s safe or not doing it, because you suggested confirmation about doing this as though it was dangerous.
The danger is you can delete anything in windows!
Then is it really not supposed to be done? Am I pretending to make a mistake or a very risky task?
It’s fine
Just be careful