[Bug 11978] New: mkstemp failed: File name too long (36) when filename is under the limit
samba-bugs at samba.org
samba-bugs at samba.org
Wed Jun 15 20:16:15 UTC 2016
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: wayned at samba.org
Reporter: sambabug1.nobled at spamgourmet.com
QA Contact: rsync-qa at samba.org
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.
More information about the rsync
mailing list