Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] XrootD do not follow symlink and leave original file intact #2070

Open
juztas opened this issue Aug 15, 2023 · 0 comments
Open

[Feature] XrootD do not follow symlink and leave original file intact #2070

juztas opened this issue Aug 15, 2023 · 0 comments
Assignees

Comments

@juztas
Copy link
Contributor

juztas commented Aug 15, 2023

Moving from mailing list to git issue. In case of directory structure like this:

/store/data/foo.root
/store/newdata/foo.root -> (symlink) to /store/data/foo.root

rm cmd rm /store/newdata/foo.root will delete symlink, but it will not follow symlink. Meaning file /store/data/foo.root will remain intact.

In XRootD (mainly we use davs) removing the symlink will follow it, and will delete the file too (gfal-rm davs://...). It would be nice to have a flag, which tells xrootd not to follow symlink and leave origin file intact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants