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.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/2070@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/2070", "url": "https://github.com/xrootd/xrootd/issues/2070", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1