Re: question related to cp (-p) and /tmp
Hi,
Patrice Duroux wrote:
> option: --preserve=mode
> cp: preserving permissions for '/tmp/test.sh': Operation not supported
> exitcode: 1
> [...]
> It says that the operation is not supported but still the mode of the
> copy is ok.
Maybe it sees ACL at the source file and your /tmp filesystem cannot
do ACL ?
Try with setfacl(1) whether files in the /tmp directory accept non-trivial
ACLs, like
touch /tmp/x
setfacl -m u:1234:w /tmp/x
The inquiry by
getfacl /tmp/x
should then report among others a line:
user:1234:-w-
Have a nice day :)
Thomas
Reply to: