-
Notifications
You must be signed in to change notification settings - Fork 149
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
xrdfs ls not working with POSIX system #2069
Comments
How did you create the directory test? It seems to me that the server itself cannot read the directory or the file, so that's why you are getting permission denied. It's not that the server is denying you permission to list, but the server itself does not seem to be able to read the test directory or file.txt and gets permission denied by the OS. |
Thank you for the quick response! The problem happens both if I make a directory and make it readable only by me via a normal shell as well as via xrdfs. When I make it via bash,
and via xrdfs,
What would be preventing the server from reading the directory? |
Is the server running as the same user as yourself? If permissions by the OS are like
only user lavezzo can do anything with the directory, although note that there is the |
No the server is ran like As you say, the permissions should be that only I (lavezzo) can see this folder: but I would expect that the xrootd-multiuser, being able to recognize me as lavezzo, it would then give me permissions to see my own stuff. Alternatively, is there a way to force new directories created via
I tried running it with
I don't know if it's a bug in xrootd, xrootd-multiuser, or some misconfiguration on our end, but it would be great to understand that's going on and I thank you for the help in doing so! |
In this case, it seems the problem is with the multiuser plugin, which is not part of the standard XRootD. I recommend trying to debug this issue with the developers of the plugin, which I do not know much about myself. If you have an example that can reproduce the problem with vanilla XRootD without the plugin, then we'll be happy to help with debugging the issue. |
okay, I'll open an issue on their github then. Feel free to close this, thanks. |
Thank you, please feel free to reopen if you see this issue without the plugin. Best regards, |
For reference, this was an issue with xrootd-multiuser. A new version was released to address it, and it seems to be working. See opensciencegrid/xrootd-multiuser#49 |
Hi,
We have xrootd (v5.6.1) set up with the xrootd-multiuser plugin (2.1.2-1.osg36.el7), and are experiencing some problems with the
xrdfs ls
command.While we are able to
chmod
,mkdir
,touch
etc. onxrdfs
correctly, thels
for a directory that according to the POSIX permissions I should be able to view (and can view in a shell) does not seem to work; e.g. if I (lavezzo) want tocat
a file that has 700 permissions I can, but if I want tols
a directory with the same permissions, I cannot:In the logs, I see that multiuser is doing something, but then just hits me with permission denied:
This is particularly damaging for us because by default when a directory is created through
xrdfs mkdir
, the permissions are set as such that other users don't have read access, and we haven't been able to successfully change this either.Any clue whether this is an issue of xrootd-multiuser or of our setup?
The text was updated successfully, but these errors were encountered: