Skip to content
rfjakob edited this page Jun 3, 2021 · 24 revisions

Results are commited to git: https://github.com/rfjakob/fuse-xfstests/tree/results_2021-05-19

Terminal log: https://github.com/rfjakob/fuse-xfstests/blob/results_2021-05-19/screenlog.0

Spreadsheet: https://docs.google.com/spreadsheets/d/1TjwtPj-vMmPiwe4Nf_NkTplvkMETW7EMiEnrCNWlpV8/edit?usp=sharing

Failures:

  • generic/035: t_rename_overwrite: fstat(3): No such file or directory
  • generic/062: === TYPE lnk; NAMESPACE trusted
    • ok, missing feature but nobody has complained yet
    • namespace trusted xattrs are not supported
  • generic/080: +mtime not updated
    • ok, no known real-word impact
    • mtime updates are delayed by 2 seconds after mmap write
    • looks like a bug in the kernel?
    • Fixed in linux v5.13-rc1 (commit)
  • generic/093: +Failed to get capabilities
    • ok, missing feature but nobody has complained yet
    • These are GETXATTR n2 {sz 0} ["security.capability"] 20b requests, which we reject
  • generic/099: umask is applied in addition to default acl
    • bug, hard to fix. Causes more restrictive permissions, no not a security issue. Workaroundable by asking the user to set their umask.
    • Problem is that the umask is applied to the permissions we get from the kernel, but when a default acl is present, the umask should be ignored (see umask(2)).
    • This could be changed by enabling FUSE_DONT_MASK, but then we need to figure out if we have to apply the umask or not, depending on the parent dir acl.
    • fusedebug trace from touch:
umask 0; touch file2:
09:58:12.257472 rx 794: CREATE n6 {0100666 [WRONLY,CREAT,NONBLOCK,0x8000] (00)} ["file2"] 6b
09:58:12.257603 tx 794:     OK, {n7 g1 {M0100440 SZ=0 L=1 0:0 B0*4096 i0:4199751 A 1621497492.256923 M 1621497492.256923 C 1621497492.256923} &{1 0 0}}

umask 0722; touch file3:
09:58:12.268351 rx 840: CREATE n6 {0100044 [CREAT,NONBLOCK,WRONLY,0x8000] (0722)} ["file3"] 6b
09:58:12.268510 tx 840:     OK, {n8 g1 {M0100040 SZ=0 L=1 0:0 B0*4096 i0:4199752 A 1621497492.267923 M 1621497492.267923 C 1621497492.267923} &{1 0 0}}
Clone this wiki locally