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
In the html area state/wwwpublic, there are links like public and letsencrypt that points to the directory itself.
example:
# ls -ld public
lrwxrwxrwx 1 mig mig 1 Jan 23 10:51 public -> .
It should not be necessary to have links that points to the directory itself. Any automation which has to do operations on the catalogue might encounter problems with such links, because they point to then selves and becomes a loop.
The text was updated successfully, but these errors were encountered:
…dor dir to close dependabot vulnerability warning #1, #2, #3 and #4
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@5684 b75ad72c-e7d7-11dd-a971-7dbc132099af
…dor dir to close dependabot vulnerability warning #1, #2, #3 and #4
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@5684 b75ad72c-e7d7-11dd-a971-7dbc132099af
Are there any reasons why those links are needed? Not being able to do a recursive operation on the folder is quite annoying.
I guess it's only those two links that Bjarke mentioned:
[root@dstorweb01tl migrid_state]# find -L . > /dev/null
find: File system loop detected; './wwwpublic/letsencrypt' is part of the same file system loop as './wwwpublic'.
find: File system loop detected; './wwwpublic/public' is part of the same file system loop as './wwwpublic'.
I'm pretty sure the letsencrypt link is used by LetsEncrypt looking for /letsencrypt/.well-known/XYZ files during HTTP-01 domain verification. Our security.txt on the other hand needs files to be inside /.well-known/ (e.g. https://erda.ku.dk/.well-known/security.txt) .
It would probably be possible to restructure and eliminate the self-links, but I really can't find the time to do so and test it doesn't break things, sorry. Can't you just use find without the -L arg or with find -H TARGET ?
In the html area state/wwwpublic, there are links like public and letsencrypt that points to the directory itself.
example:
It should not be necessary to have links that points to the directory itself. Any automation which has to do operations on the catalogue might encounter problems with such links, because they point to then selves and becomes a loop.
The text was updated successfully, but these errors were encountered: