Skip to content

gfal-copy and xrootd: fchmod error #12

@kreczko

Description

@kreczko

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions