https://bugzilla.samba.org/show_bug.cgi?id=11978
Bug ID: 11978
Summary: mkstemp failed: File name too long (36) when filename
is under the limit
Product: rsync
Version: 3.1.1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Using mkstemp adds on 7 characters to the filename, which creates a problem
when the filename is below, but close to, the limit of the filesystem.
You can see this when rsync'ing from one ecryptfs filesystem to another, which
will fail even though both have the exact same 143-byte filename limit, if a
filename consists of more than 136 bytes.
Is there any reason the .XXXXXX in the argument to mkstemp can't *replace* the
last 7 characters in the filename, instead of being appended to it?
--
You are receiving this mail because:
You are the QA Contact for the bug.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html