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
When developing the jupyter-client for SWAN I have ran into a problem with symbolic links and discovered that the behavior is inconsistent in Reva and was wondering if we want to add support for this (even if optional).
The behavior that is inconsistent is currently when you list a directory it will return the inode and resource type of the symbolic link e.g. (<inode number of symlink>, file) but when you stat the symbolic link itself (lets say it points to a directory) it returns the (<inode number of directory>, container).
As an example, in the Jupyter-client this behavior breaks symbolic links since it thinks it will open a file (so it creates a file model) but the stat ends up returning a directory and it won't open the file or the directory.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
When developing the jupyter-client for SWAN I have ran into a problem with symbolic links and discovered that the behavior is inconsistent in Reva and was wondering if we want to add support for this (even if optional).
The behavior that is inconsistent is currently when you list a directory it will return the inode and resource type of the symbolic link e.g.
(<inode number of symlink>, file)but when youstatthe symbolic link itself (lets say it points to a directory) it returns the(<inode number of directory>, container).As an example, in the Jupyter-client this behavior breaks symbolic links since it thinks it will open a file (so it creates a file model) but the stat ends up returning a directory and it won't open the file or the directory.
Beta Was this translation helpful? Give feedback.
All reactions