Bug ID: 11978
Summary: mkstemp failed: File name too long (36) when filename
is under the limit
Assignee: [hidden email] Reporter: [hidden email] QA Contact: [hidden email]
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.