Comment #6 on issue 128269 by
asa...@chromium.org: Long file name won't
From my CrOS device:
t=1337895997963 [st=14] DOWNLOAD_FILE_RENAMED
--> new_filename
= "/home/chronos/user/Downloads/012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678.txt.crdownload"
--> old_filename
= "/home/chronos/user/Downloads/.com.google.Chrome.gk7GeN"
t=1337895997963 [st=14] DOWNLOAD_FILE_CLOSED
t=1337895997963 [st=14] DOWNLOAD_FILE_ERROR
--> net_error = -17 (ERR_FILE_PATH_TOO_LONG)
--> operation = "WriteFile"
The length of the filename is 144 characters (a 143 character filename
suceeded). The "WriteFile" operation mentioned in the log is
file_util::WriteFile() which is called as
file_util::WriteFile(new_filename, "", 0).
Why would creat() fail for such an odd filename length?
Is this limitation discoverable via statfs()? If so we can attempt to
truncate the filename as necessary during filename determination.