My computer is slackware base and the remote computer is ubuntu 9.10. I put all my files in the remote computer.
Since I upgrade my slackware from 12.2 to 13.0 I received this error when copying or moving file/ directory into this partition.
The partition is mounted from network storage with ntfs-3g type. In the remote computer (ubuntu) I made this /etc/fstab
/dev/sda1 /mnt/sda1 ntfs-3g umask=000 0 0
then share /mnt/sda1 through samba.
I did to mount it through samba but everytime I copy of move file into it, I got the error. It just the error in time and ownership permission.
I try to figure out why by learning how ntfs-3g is work. I assumed that must be something wrong with ntfs-3g setting. Because when I do
$ls -l /mnt/
I read that sda1 is mounted by root owner and root group. That must be why my computer has been denied to change the file time properties.
So I search for some setting of ntfs-3g in the remote computer and work with adding uid and gid command. I got the idea when reading this.
First find out which id for your remote user is by
$cat /etc/passwd | grep myname
It will result something like this
That’s mean the user id is 1000 and the group id is 1000 too.
Ok let’s do what that guy suggested, so this is my new fstab file
/dev/sda1 /mnt/sda1 uid=1000,gid=1000,umask=000 0 0
I remounted it and of course I remounted my computer too.
Now when I copy or move file the permission error is gone.