Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.16.0
-
None
-
3
-
9223372036854775807
Description
Running "lfs project -p" on a dangling symlink or a symlink that refers to itself fails:
# ln -s foo /myth/tmp/projid-900/symlink # lfs project -p 1000 /myth/tmp/projid-900/symlink lfs: failed to stat '/myth/tmp/projid-900/symlink': No such file or directory # ln -s symlink3 /myth/tmp/projid-900/symlink3 # lfs project -p 1000 /myth/tmp/projid-900/symlink3 lfs: failed to stat '/myth/tmp/projid-900/symlink3': Too many levels of symbolic links
It should be possible to fix this by using open(O_NOFOLLOW) to open the symlink.
Attachments
Issue Links
- is related to
-
LU-11872 Request for option not to follow symlink when setting project ID
-
- Resolved
-