You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, atomic_write('/mnt/readonly_fs/some_symlink') will try to create temporary file in /mnt/readonly_fs/. This is BUG. It should create temporary file in /var and replace /var/real_file accordingly.
The library have to resolve path recursively to get final path without any symlinks. It must do it before any operations.
The text was updated successfully, but these errors were encountered:
Suppose such case:
/mnt/readonly_fs/some_symlink
->/var/real_file
.So,
atomic_write('/mnt/readonly_fs/some_symlink')
will try to create temporary file in/mnt/readonly_fs/
. This is BUG. It should create temporary file in/var
and replace/var/real_file
accordingly.The library have to resolve path recursively to get final path without any symlinks. It must do it before any operations.
The text was updated successfully, but these errors were encountered: