netheril96 / securefs

Filesystem in userspace (FUSE) with transparent authenticated encryption
Other
741 stars 62 forks source link

Mac :xcode build failed: File name too long #84

Open nicholaslin opened 5 years ago

nicholaslin commented 5 years ago

屏幕快照 2019-09-26 23 19 00 hi, buddy as you can see above picture , when I build xcode project on the mounted fs, the file name is append its path cause file name too long ,please tell me how to solve it if you know

netheril96 commented 5 years ago

Sorry, I don't know how Xcode produces that long a filename, and it is fundamentally impossible to support such long filenames in format 4. You may create a format 2 securefs filesystem, or try to figure out why Xcode results in such long names.

nicholaslin commented 5 years ago

I’m think that not just xcode file but all file that has long name directory has same problem. Because the file name has changed in securefs that had append it’s complete file path, and xcode building will generate long name directory so the phenomenon occurs

netheril96 commented 5 years ago

Because the file name has changed in securefs that had append it’s complete file path,

I don't understand this line. Are you saying that securefs is the reason that Xcode generates such long filename (XXXXXX_xcbuild.lock)?

On Tue, Oct 1, 2019 at 7:36 AM nicholaslin notifications@github.com wrote:

I’m think that not just xcode file but all file that has long name directory has same problem. Because the file name has changed in securefs that had append it’s complete file path, and xcode building will generate long name directory so the phenomenon occurs

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/netheril96/securefs/issues/84?email_source=notifications&email_token=AAGMJZZA222K34Z35VI3RPTQMKEPZA5CNFSM4I3D4FXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD77NQ6I#issuecomment-536795257, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGMJZ74T63RKTG7IPDZITLQMKEPZANCNFSM4I3D4FXA .

nicholaslin commented 5 years ago

As you can see at my first pic , when Xcode building and save file in mounted directory, the file name will change (append _Userscomputername......_xcodebuild.lock ,the prefix is it’s complete path),but when Xcode save to the directory that no mount it’s file name just is “xcodebuild.lock”,and then I try to mkdir a long name dir name in finder ,and then drop any file in it and drag the dir to the mounted fs,the same issue occurred,so I guess that

netheril96 commented 5 years ago

OK, I got it. It is very weird. I need time to investigate.