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

xrdcopy permissions on files #49

Closed
esindril opened this issue Oct 9, 2013 · 1 comment
Closed

xrdcopy permissions on files #49

esindril opened this issue Oct 9, 2013 · 1 comment

Comments

@esindril
Copy link
Contributor

esindril commented Oct 9, 2013

This is not a bug but more of a question.
I see that the old xrdcp command used to set the permissions on the newly created files as: -rw- r-- r-- i.e 644 but the new xrdcopy seems to use by default rw- --- --- i.e. 600. I just had some of my old test failing because of this... since the stat information returned for such a file fails the IsReadable test.
Is this on purpose?

eg.
[esindril@pcitdss1401 ~]$ xrdcopy -f /etc/passwd root://localhost:1091//tmp/demo.dat
[100%][==================================================] [2k/2k]
[esindril@pcitdss1401 ~]$ ls -lrt /tmp/demo.dat
-rw-------. 1 xrootd xrootd 2199 Oct 9 16:49 /tmp/demo.dat

while with the old one:
[esindril@pcitdss1401 ~]$ xrdcp -f /etc/passwd root://localhost:1091//tmp/demo1.dat
[esindril@pcitdss1401 ~]$ ls -lrt /tmp/demo1.dat
-rw-r--r--. 1 xrootd xrootd 2199 Oct 9 16:49 /tmp/demo1.dat

@ljanyst
Copy link
Contributor

ljanyst commented Mar 13, 2014

Fixed: b430858

@ljanyst ljanyst closed this as completed Mar 13, 2014
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