LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2017, 04:23 AM   #1
AdultFoundry
Member
 
Registered: Jun 2015
Posts: 282

Rep: Reputation: Disabled
Temp rsync file not deleted after a transfer


I was pulling around 150 GB of files from a LAMP server to a Windows 7 pc with Cygwin. All went as it should and the only thing that was unusual was a file that was not deleted by rsync. The file is 0 bytes and it is called .62030.jpg.3bqiFX and in the same folder there is a file called 62030.jpg and this file's transfer is done (good, 100%, as it should).

On Windows 7 the file belongs to the following Group / User:

S-1-5-21-3xxx72xxx0-20xxx95755-103xxx7883-1001 (some number replaced with x's, I am not sure if I can publish this or not, security-wise)

When I try to paste it to disk C (from disk D), make a copy of it, I get the following results:

File Access Denied - You'll need to provide administrator permission to copy this file.

I am now on Windows 10 Pro (I upgraded today) and when I click Continue with that shield icon (this looks like I am pressing it as an administrator of the system or something like that, I get that:

You need permission form S-1-5-21-3xxx72xxx0-20xxx95755-103xxx7883-1001 (I replaced some numbers with the x's, I am not sure if this is something I can publish or not) to make changes to this file.

So basically I am not able to copy it or delete it but I can figure this out (as a Windows matter). My question here would be why it was not delete and what can be a reason for something like this?

I was transferring a total of over 2.5 million files in this proces and this is the only file like that in addition to what should be there in "normal circumstances". So basically why could this happen, what could have caused it, what is the reason for this and so on?

Thanks.

Last edited by AdultFoundry; 07-01-2017 at 01:02 PM.
 
Old 07-01-2017, 10:11 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,952

Rep: Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148Reputation: 2148
try search windows how to change permissions. they got that permissions/ownership on their files too.
 
Old 07-01-2017, 01:40 PM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010Reputation: 1010
The weird file is probably the rsync temp file for the last file transfered. It sounds like a minor bug. Rsync might not write 100% compatible file permissions to Windows. Cygwin allows Linux programs to run in Windows, but it doesn't necessarily make the programs 100% compatible.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Growing temp file where lsof status "deleted" procfs Linux - Newbie 4 06-03-2016 02:45 AM
transfer 70G+ of file on remote host using rsync leejohnli Linux - Newbie 11 09-04-2015 05:22 AM
unable to transfer file using rsync Makri Linux - Software 1 12-07-2009 06:07 PM
Rsync error cannot do ssh and transfer file linuxbee1 Linux - Newbie 13 06-23-2008 04:41 PM
Perl/CGI uploader program - temp file not getting deleted anroy Programming 4 09-13-2006 02:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration