Menu

#9 Use real path on DB content

1.0
open
nobody
None
2025-10-04
2025-09-23
Lachu
No

Use real path on DB content and program path, exactly:
1. On caller program path - always
2. On file associated with operation path - only on open operation

This will remove problem with configuration

RealPath is C standard library call: man realpath (3).

Discussion

  • Lachu

    Lachu - 2025-10-04

    We probably cannot use this approach on files inside storage. FUSE do not return context information probably, when our daemon access mount point. It does not give context in other cases too, so there is no way to test if our daemon do some stuff (and skip some steps in this case).

     
  • Lachu

    Lachu - 2025-10-04

    Realpath on program path done. We must also create programs group and group programs path with symlinks inside directories consists by PATH. We can iterate on each files inside directories pointed by PATH and monitor directories pointed by PATH thanks to inotify/fanotify.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.