How to stop users writing something on top directory of DFC? #6192
-
Our DFC is configured with "FullSecurityManager" and dirac_admin is given the right to manage. All the directories under /juno are in good control, but some new users are still able to create their own directories directly under the top "/" . How to prevent this? If I am correct, I don't see solutions from documents. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
create a issue for that: #6229 |
Beta Was this translation helpful? Give feedback.
-
Hi, Have you tried setting the permissions on the "/" directory? There is no simple way to display the current permissions, but you can set them in the You can get the current permissions directly from the database, I think the root dir is always the directory with ID 1 (note that this shows the mode flags in decimal whereas chmod uses octal):
Regards, |
Beta Was this translation helpful? Give feedback.
Hi,
Have you tried setting the permissions on the "/" directory? There is no simple way to display the current permissions, but you can set them in the
dirac-dms-filecatalog-cli
with something likechmod 755 /
. This is what we're using in GridPP to prevent this (although we only use the DirectorySecurityManager: I imagine FullSecurityManager behaves the same).You can get the current permissions directly from the database, I think the root dir is always the directory with ID 1 (note that this shows the mode flags in decimal whereas chmod uses octal):