[opensuse] data file transfer ext4 to ntfs
I have a series of data directories that I need to regularly transfer back and forth between 2 computers. On computer 1, all the files are in an ext4 partition. I have formatted a memory stick with ext4 format as the means of transfer. I use rsync to copy the files and directories from computer 1 to the stick. On computer 2 I have half the files in an ext4 partition, and the other half of the files are in an NTFS partition (by necessity). These files have to remain in the NTFS partition on computer 2. When I try and use rsync to copy the files from the stick to computer 2, the files that are supposed to be copied to the NTFS partition fail with the following error: rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/..directory.zabln8" failed: Operation not permitted (1) rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/.TTBR2010708.mp3.VUNaHR" failed: Operation not permitted (1) I know that this probably has to do with the fact that NTFS doesn't recognize owners and permissions, but I still need to be able to copy these files along with all the others. Anyone have any suggestions on how to accomplish the same rsync type functionality in this situation without having to login as root? When i run the script as root it copies the files without a problem. Thanks to anyone that has any suggestions! George -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 2011-10-12 at 20:26 +0800, George Olson wrote:
When I try and use rsync to copy the files from the stick to computer 2, the files that are supposed to be copied to the NTFS partition fail with the following error:
rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/..directory.zabln8" failed: Operation not permitted (1)
George, It seems you do not have write permission. 1. Search with the software manager for the packages related to ntfs (ntfs-3g, ntfsprogs, ntfs-config) they will help you to deal with ntfs files. 2. a different approach to deal with your particular situation is using the cloud: www.dropbox.com . Opensuse 11.4 has all the packages. I use KDE so I install : dropbox and dropbox-servicemenu that add the dropbox submenu into dolphin. -=terry==- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
I have a series of data directories that I need to regularly transfer back and forth between 2 computers. On computer 1, all the files are in an ext4 partition. I have formatted a memory stick with ext4 format as the means of transfer. I use rsync to copy the files and directories from computer 1 to the stick. On computer 2 I have half the files in an ext4 partition, and the other half of the files are in an NTFS partition (by necessity). These files have to remain in the NTFS partition on computer 2.
When I try and use rsync to copy the files from the stick to computer 2, the files that are supposed to be copied to the NTFS partition fail with the following error:
rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/..directory.zabln8" failed: Operation not permitted (1) rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/.TTBR2010708.mp3.VUNaHR" failed: Operation not permitted (1)
I know that this probably has to do with the fact that NTFS doesn't recognize owners and permissions, but I still need to be able to copy these files along with all the others.
Anyone have any suggestions on how to accomplish the same rsync type functionality in this situation without having to login as root? When i run the script as root it copies the files without a problem.
Thanks to anyone that has any suggestions!
George
The simplest solution may be to just use sudo to run rsync. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2011-10-12 14:26, George Olson wrote:
I know that this probably has to do with the fact that NTFS doesn't recognize owners and permissions, but I still need to be able to copy these files along with all the others.
Anyone have any suggestions on how to accomplish the same rsync type functionality in this situation without having to login as root? When i run the script as root it copies the files without a problem.
If that computer were running linux, the trick is having the windows mount by the same owner as the one who owns the files in the linux mount side. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk6VmY0ACgkQtTMYHG2NR9WVRwCfV5vf7fNnzdyVOCex4YnuOahG 2csAn2SqkZSpCrfJ0gEAUE5mNNEqeLK1 =X/SV -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
George Olson wrote:
I have a series of data directories that I need to regularly transfer back and forth between 2 computers. On computer 1, all the files are in an ext4 partition. I have formatted a memory stick with ext4 format as the means of transfer. I use rsync to copy the files and directories from computer 1 to the stick. On computer 2 I have half the files in an ext4 partition, and the other half of the files are in an NTFS partition (by necessity). These files have to remain in the NTFS partition on computer 2.
When I try and use rsync to copy the files from the stick to computer 2, the files that are supposed to be copied to the NTFS partition fail with the following error:
rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/..directory.zabln8" failed: Operation not permitted (1) rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/.TTBR2010708.mp3.VUNaHR" failed: Operation not permitted (1)
I know that this probably has to do with the fact that NTFS doesn't recognize owners and permissions, but I still need to be able to copy these files along with all the others.
Anyone have any suggestions on how to accomplish the same rsync type functionality in this situation without having to login as root? When i run the script as root it copies the files without a problem.
Thanks to anyone that has any suggestions!
George If you can copy as root, but not a user, it's a permissions problem. Who is the owner/group of that NTFS partition? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
George, I am reading your mail so as you are running rsync on computer 2 in opensuse and fail to copy files to the ntfs partition. Have you been successful writing (or even reading, for that matter) files onto or off of the ntfs partition on computer 2 under opensuse with any other method than rsync? If writing fails any way whatsoever, you have probably hit one of the (way to many) usability issues of opensuse: by default, ntfs partitions are mounted so that only root can write to them. As James indicates, this is a permission problem: you have to set the proper mount options in fstab for the ntfs partition (I believe it was "umask=0022" but not sure - I have abandoned ntfs completely some time ago). "man mount" and "man fstab" are your friends (although they don't give you the needed values for umask, dmask, etc. but usually I found this via google when I still had ntfs (and yes, I did run into this issue). Setting the file system's mount options can be done via yast's partition manager - no need to manually edit fstab for this. BR, Karl-Heinz P.S.: another possible fix (but I'm not sure on this one) may be to allow normal users to mount the ntfs partition by adding the "user" (only the specified user can mount) or "users" (any normal user can mount) option to fstab (again, "man mount" is your friend). But if you do this, you'll have to make sure that the ntfs partition doesn't get automounted on boot (I think removing "auto" from fstb for the ntfs partition) - because otherwise your problem will persist - and in addition you'll have to manually mount it (e.g. via dolphin) as your normal user when it is needed. ----------------------------------------
Date: Wed, 12 Oct 2011 09:48:32 -0400 From: james.knott@rogers.com To: opensuse@opensuse.org Subject: Re: [opensuse] data file transfer ext4 to ntfs
George Olson wrote:
I have a series of data directories that I need to regularly transfer back and forth between 2 computers. On computer 1, all the files are in an ext4 partition. I have formatted a memory stick with ext4 format as the means of transfer. I use rsync to copy the files and directories from computer 1 to the stick. On computer 2 I have half the files in an ext4 partition, and the other half of the files are in an NTFS partition (by necessity). These files have to remain in the NTFS partition on computer 2.
When I try and use rsync to copy the files from the stick to computer 2, the files that are supposed to be copied to the NTFS partition fail with the following error:
rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/..directory.zabln8" failed: Operation not permitted (1) rsync: mkstemp "/windows/D/CLAware Inbox/Tagalog/ThruTheBible/.TTBR2010708.mp3.VUNaHR" failed: Operation not permitted (1)
I know that this probably has to do with the fact that NTFS doesn't recognize owners and permissions, but I still need to be able to copy these files along with all the others.
Anyone have any suggestions on how to accomplish the same rsync type functionality in this situation without having to login as root? When i run the script as root it copies the files without a problem.
Thanks to anyone that has any suggestions!
George If you can copy as root, but not a user, it's a permissions problem. Who is the owner/group of that NTFS partition? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, Oct 12, 2011 at 08:26, George Olson
Anyone have any suggestions on how to accomplish the same rsync type functionality in this situation without having to login as root? When i run the script as root it copies the files without a problem.
You can use the command visudo to edit the sudoers. This way you will be able to type sudo rsync.... and not have to type/know the root password. You can restrict it so only certain users can use it and then only for certain commands. -- Med Vennlig Hilsen, A. Helge Joakimsen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Carlos E. R.
-
dwgallien
-
George Olson
-
James Knott
-
Joaquin Sosa
-
Karl-Heinz tm
-
Teruel de Campo MD