NTFS, can't write even with proper umask / NTFS-3G installed

OpenSUSE 11.1 x86_64 / KDE 4.2

Well this is a rather odd problem…

I added umask=0002 to partitioner for my windows (NTFS) drive and I still couldn’t write to it.

So I thought I’d give NTFS-Config a try (a program mentioned on the forum in some ntfs problem topic) and after it installed when I ran it, it showed internal devices as writeable.

Right… let’s try it it the old fashioned way, editting /etc/fstab, opened it up… and it looked okay to me. So I went to openSUSE.org/NTFS and just copied the line over from there… and still no luck.

For each I try I did a mount -a as root in the shell to apply the changes, tried creating a dir in dolphin (right click > create new folder) and trough the command “mkdir blaat”.
*mkdir: cannot create directory `blaat’: Permission denied
*

Neither proofed to be successfull… however as root I can do a mkdir just fine, so the ntfs driver is working at least.

For reference, my fstab line:
/dev/disk/by-id/ata-SAMSUNG_HM250JI_S0TVJD0Q437176-part1 /windows/C ntfs-3g user,users,gid=users,umask=0002,locale=en_US.UTF-8 0 0

Doubt this has anything to do with it, but maybe it’s related… who knows.

My xserver doesn’t start automatically either, have to issue the startx upon rebooting. (Happened after upgrading my KDE 4.1 to 4.2)

so if you mount it as root with the command: ntfs-3g /dev/sXXX /windows/C
can oyu read/write?

linux-p8l8:/home/Pascal # mount -t ntfs-3g /dev/disk/by-id/ata-SAMSUNG_HM250JI_S0TVJD0Q437176-part1 /windows/C
ntfs-3g-mount: mount failed: Device or resource busy

So I thought… ah guess I gotta unmount it first!

linux-p8l8:/home/Pascal # umount -t ntfs-3g /dev/disk/by-id/ata-SAMSUNG_HM250JI_S0TVJD0Q437176-part1 /windows/C
umount: /windows/C: device is busy.                                                                                                                     
        (In some cases useful info about processes that use                                                                                             
         the device is found by lsof(8) or fuser(1)) 

Now lsof gave me a list bigger then I could scroll up in konsole… so I tried fuser.

fuser -c ntfs-3g
Cannot stat file /home/Pascal/.gvfs: Permission denied
Cannot stat ntfs-3g: No such file or directory
Cannot stat ntfs-3g: No such file or directory
Cannot stat ntfs-3g: No such file or directory

Not really getting anywhere am I ? :frowning:

On Fri January 9 2009 07:26 pm, Axeia wrote:

>
> solphonic;1924832 Wrote:
>> so if you mount it as root with the command: ntfs-3g /dev/sXXX
>> /windows/C
>> can oyu read/write?
>
> Code:
> --------------------
> linux-p8l8:/home/Pascal # mount -t ntfs-3g
> /dev/disk/by-id/ata-SAMSUNG_HM250JI_S0TVJD0Q437176-part1 /windows/C
> ntfs-3g-mount: mount failed: Device or resource busy
> --------------------
>
> So I thought… ah guess I gotta unmount it first!
>
> Code:
> --------------------
> linux-p8l8:/home/Pascal # umount -t ntfs-3g
> /dev/disk/by-id/ata-SAMSUNG_HM250JI_S0TVJD0Q437176-part1 /windows/C
> umount: /windows/C: device is busy.
> (In some cases useful info about processes that use
> the device is found by lsof(8) or fuser(1))
> --------------------
>
>
> Now lsof gave me a list bigger then I could scroll up in konsole… so I
> tried fuser.
>
> Code:
> --------------------
> fuser -c ntfs-3g
> Cannot stat file /home/Pascal/.gvfs: Permission denied
> Cannot stat ntfs-3g: No such file or directory
> Cannot stat ntfs-3g: No such file or directory
> Cannot stat ntfs-3g: No such file or directory
> --------------------
>
>
> Not really getting anywhere am I ? :frowning:
>
>
What are the permissions on the mount point?

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

linux-p8l8:/home/Pascal # ls -l /windows
total 28
drwxr-xr-x 1 root users 28672 2009-01-07 19:53 C

Guess that’s the problem then, how do I set the proper ones, without messing up Vista’s rights.

I tried to solve it, but am unable to

inux-p8l8:/home/Pascal # chmod 777 /windows/C/
linux-p8l8:/home/Pascal # mount -a
linux-p8l8:/home/Pascal # ls -l /windows
total 28
drwxr-xr-x 1 root users 28672 2009-01-07 19:53 C

How to proceed?

Thought I’d try

ntfs-3g -o rw,gid=users,umask=0002 /dev/disk/by-id/ata-SAMSUNG_HM250JI_S0TVJD0Q437176-part1 /home/Pascal/Windows

as a temporarily work-around, doesn’t work either though. Can read it just fine, can’t write.

Weirdness… my little tray geeko was wining for updates.

So I started up YaST and select “Update all packages if newer version is available”.

28 Updated packages later, my internet connection has stopped working. Do a reboot, still no internet and wcid not seeing any networks. So I uninstall wcid and reboot (without a need for startx, it works normally again), so I figured… startx works, maybe the filemount works to… tried it and yes, create folder doing what it’s supossed to do.

No idea if one of the updates fixed things or if wcid was causing some sort of issue… resolved non the less.