Re: HOWTO: Mount NTFS volumes with write support
I followed all the instructions, i can mount and i can read however i cannot write.
My Error:
Code:
sudo dmesg > /media/hda1/my_dmesg_log.txt
bash: /media/hda1/my_dmesg_log.txt: Permission denied
Here is my fstab line:
Code:
/dev/hda1 /media/hda1 ntfs-fuse auto,gid=1001,umask=0007 0 0
My group id:
Code:
sudo addgroup ntfs
Adding group `ntfs' (1001)...
Done.
any ideas as to what the problem is here?
Re: HOWTO: Mount NTFS volumes with write support
Turns out the command was not correct. Try this:
Code:
sudo sh -c "dmesg > /media/hda1/my_dmesg_log.txt"
I've updated the How-To.
Reasoning: the shell assumes the output file (I/O redirection) to be the permissions of the regular user, ignoring the sudo command. Thus, I've corrected the command as a workaround for this issue.
A must have missed some line somewhere...
Hi all.
I used this technique successfully on my laptop - allright, my ntfs files are present. On the laptop.
So I felt confident with the Desktop...
it does mount, appear on screen, and theeennn
...Well, I'm now stuck with good Ole'
Quote:
The folder contents could not be displayed.
You do not have the permissions necessary to view the contents of "hda5".
my fdisk list:
Quote:
/dev/hda5 1229 6092 39070048+ 7 HPFS/NTFS
my fstab:
Quote:
/dev/hda5 /media/hda5 ntfs-fuse auto,gid=1003,umask=0007 0 0
my ls /media -l:
Quote:
drwxrwx--- 1 root root 4096 2006-02-26 17:57 hda5
- - Sure 1003 is the new id generated during the present tutorial - -
- - Yes I did add the users to the ntfs group --
- - I bet the 1 root root up here should'nt look like this... --
What did I missed ?
Re: HOWTO: Mount NTFS volumes with write support
Can we get back to this part of the process ?
Quote:
Just as comparison, here is how my ntfs part. is set:
Code:
drwxrwx--- 1 root ntfs 12288 2006-03-13 13:07 hda1
Now, my user is a member of ntfs group, and this gives him full access to the partition.
How do you achieve that ?
Thanks.
Re: HOWTO: Mount NTFS volumes with write support
Hmm, seems you need to restart the system first. Or just do this sequence of commands:
Code:
sudo umount /dev/hda5
sudo ntfsmount /dev/hda5 /media/hda5 -o gid=1003,umask=0007
ls -l /media
See if it is now with group ntfs set.
Re: HOWTO: Mount NTFS volumes with write support
I was able to mount my NTFS partition, but I did not have to remove the incorrect link as per your instructions. I just had to create the link, and everything went fine.
Being able to edit the NTFS files helps me a lot.
Re: HOWTO: Mount NTFS volumes with write support
hi!
thank you for this great howto.
i've to make further tests, but it seems really working.
lg dave
Re: HOWTO: Mount NTFS volumes with write support
I'll rework the How-To to simplify it (there are steps that can be streamlined and shortened).
Glad it's working for everyone.
Re: HOWTO: Mount NTFS volumes with write support
Hi!
I can't delete some files , it writes: "Directory not empty. Delete it recursively?"
I say Yes. Then "Cannot remove directory "blabla". Directory not empty (39)."
For examaple this dir:
Code:
dani@ubuntu:~/windows/c/bacsa/suli$ ls -all
total 0
drwxrwx--- 1 dani ntfs 0 2006-03-21 23:05 .
drwxrwx--- 1 dani ntfs 0 2006-03-21 23:05 ..
drwxrwx--- 1 dani ntfs 0 2006-03-21 23:05 Szakmai Gyakorlat
dani@ubuntu:~/windows/c/bacsa/suli$
My fstab:
Code:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hdc2 / ext3 defaults,errors=remount-ro 0 1
/dev/hdc5 none swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdc1 /home/dani/windows/c ntfs-fuse auto,uid=1000,gid=1001,umask=0007 0 0
/dev/hdc4 /home/dani/windows/g ntfs-fuse auto,uid=1000,gid=1001,umask=0007 0 0
/dev/hdb1 /home/dani/windows/f ntfs-fuse auto,uid=1000,gid=1001,umask=0007 0 0
/dev/hda1 /home/dani/windows/d ntfs-fuse auto,uid=1000,gid=1001,umask=0007 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Thanks.
Re: HOWTO: Mount NTFS volumes with write support
Thanks.. Your howto really helped! (oh and my drives showed up on the gnome desktop right away.. maybe they fixed that problem?)