You are not logged in.
Whenever I try to copy a file from my ext4 partition to my ntfs partition, I get the following error:
Could not change permissions for
<filename>
Also, I've noticed one more problem, not sure if it is anyhow related: I have an Android phone and whenever I try to copy a custom ROM to my microSD card (using cp from terminal), I get no errors, checking md5sum works fine (and matches the download file), but yet the android phone cannot install the ROM (says bad file). Now that would not be weird if it happened all the time, but it only happens sometimes. Like, after 3-4 retries (of copying/rewriting the file), eventually it works well. Yesterday though it wouldn't work well after 10 retries so I gave up.
Are these problems related and how do I fix them? I already checked out this thread, but apparently cifs works only for samba mounted shares.
Here's my /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
# Commented out by Dropbox
# /dev/sda1 /home ext4 defaults 0 1
/dev/sda4 / ext4 defaults 0 1
/dev/sda5 swap swap defaults 0 0
/dev/sda2 /media/windows ntfs-3g gid=users,umask=0002,noperm 0 0
/dev/sdb1 /media/LaCie ntfs-3g gid=users,umask=0002,noperm 0 0
#\\dev\sdb1 /media/LaCie cifs noperm,uid=bogdan,gid=users,iocharset=utf8
/dev/sdc1 /media/Nova ntfs-3g gid=users,umask=0002,noperm 0 0
/dev/sda1 /home ext4 defaults,user_xattr 0 1
My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there
Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux
Offline
Also, I've noticed one more problem, not sure if it is anyhow related: I have an Android phone and whenever I try to copy a custom ROM to my microSD card (using cp from terminal), I get no errors, checking md5sum works fine (and matches the download file), but yet the android phone cannot install the ROM (says bad file). Now that would not be weird if it happened all the time, but it only happens sometimes. Like, after 3-4 retries (of copying/rewriting the file), eventually it works well. Yesterday though it wouldn't work well after 10 retries so I gave up.
Perhaps you forgot to sync before removing the card?
Offline
Sync what?
My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there
Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux
Offline
The sd card on the Android. It's a common problem that cp (and it's GUI equivalents) reports the copy as finished when it hasn't. If you run sync as user it will finish off the job
edit: ntfs doesn't have permissions in the same way ext4 has, instead they're set when the drive is mounted
Last edited by SS4 (2011-03-09 23:04:12)
Rauchen verboten
Offline
Thanks for the sync tip, I had no idea about that.
My website - http://www.LinuxDistroReview.com - reviews all the linux distros out there
Here's the Arch Linux review: http://www.linuxdistroreview.com/arch-linux
Offline
Whenever I try to copy a file from my ext4 partition to my ntfs partition, I get the following error:
Could not change permissions for <filename>
Did you install NTFS-3G?
Offline