Skip to content

Installation of man page via cp --preserve fails on NFS #3518

@jzinn

Description

@jzinn

I did this

Building curl on NFS gives this error message:

cp: preserving permissions for `/path/to/docs/curl.1': Operation not supported
cp: preserving ACL for `/path/to/docs/curl.1': Operation not supported

The failing cp command comes from docs/Makefile.am:

$(abs_builddir)/curl.1:
	if test "$(top_builddir)x" != "$(top_srcdir)x" -a -e "$(srcdir)/curl.1"; then \
		cp -fp "$(srcdir)/curl.1" $@; fi
	cd cmdline-opts && $(MAKE)

Perhaps using install with specified permissions instead of cp --preserve would be better.

I expected the following

The install command (cp) to succeed with error code 0.

curl/libcurl version

From my machine, not the build machine:

curl 7.63.0 (x86_64-pc-linux-gnu) libcurl/7.63.0 OpenSSL/1.0.2q zlib/1.2.3 c-ares/1.12.0
Release-Date: 2018-12-12
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile NTLM SSL libz UnixSockets HTTPS-proxy 

operating system

The build machine is CentOS 5 or 6.

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