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

gfal-copy and xrootd: fchmod error #12

Open
kreczko opened this issue Sep 2, 2022 · 0 comments
Open

gfal-copy and xrootd: fchmod error #12

kreczko opened this issue Sep 2, 2022 · 0 comments

Comments

@kreczko
Copy link

kreczko commented Sep 2, 2022

Dear all,

I am running

gfal-copy --version
gfal2-util version 1.7.1 (gfal2 2.21.0)
	dcap-2.21.0
	file-2.21.0
	gridftp-2.21.0
	http-2.21.0
	lfc-2.21.0
	mock-2.21.0
	rfio-2.21.0
	sftp-2.21.0
	srm-2.21.0
	xrootd-2.21.0

And trying to copy a file to a storage endpoint via root://.

  • gfal-copy --just-copy file:///usr/bin/bash davs://xrootd.phy.bris.ac.uk:1094/xrootd/ops/test_file_xrootd_ops2.outWORKS (HTTP)
  • xrdcp file:///usr/bin/bash root://xrootd.phy.bris.ac.uk:1094//xrootd/ops/test_file_xrootd_ops2.outWORKS (root:// via xrdcp
  • gfal-copy --just-copy -v file:///usr/bin/bash root://xrootd.phy.bris.ac.uk:1094//xrootd/ops/test_file_xrootd_ops2.outFAILS (root:// via xrdcp):
Copying 0 bytes file:///usr/bin/bash => root://xrootd.phy.bris.ac.uk:1094//xrootd/ops/test_file_xrootd_ops2.out
event: [1662129567321] BOTH   GFAL2:CORE:COPY	LIST:ENTER	
event: [1662129567322] BOTH   GFAL2:CORE:COPY	LIST:ITEM	file:///usr/bin/bash => root://xrootd.phy.bris.ac.uk:1094//xrootd/ops/test_file_xrootd_ops2.out
event: [1662129567322] BOTH   GFAL2:CORE:COPY	LIST:EXIT	
event: [1662129567324] BOTH   xroot	TRANSFER:ENTER	file://localhost///usr/bin/bash?xrd.gsiusrpxy=/tmp/x509up_u31423&xrdcl.intent=tpc => root://xrootd.phy.bris.ac.uk:1094///xrootd/ops/test_file_xrootd_ops2.out?xrd.gsiusrpxy=/tmp/x509up_u31423&xrdcl.intent=tpc
event: [1662129567324] BOTH   xroot	TRANSFER:TYPE	streamed
event: [1662129569751] BOTH   xroot	TRANSFER:EXIT	Job finished, [ERROR] Server responded with an error: [3016] Unable to fchmod /xrootd/ops/test_file_xrootd_ops2.out; is a directory (destination)

gfal-copy error: 21 (Is a directory) - Error on XrdCl::CopyProcess::Run(): [ERROR] Server responded with an error: [3016] Unable to fchmod /xrootd/ops/test_file_xrootd_ops2.out; is a directory (destination)

Since the gfal http plugin does not do any chmod but the xrootd one does, is the issue there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant