bug#30534: cp - Possible bugs when not preserving mode (explicit) and when copying special files

2018-02-24 Thread Declercq Laurent
Le 25/02/2018 à 03:24, Pádraig Brady a écrit : On 20/02/18 00:04, Declercq Laurent wrote: Le 20/02/2018 à 04:26, Pádraig Brady a écrit : 2. Non-permission bits are preserved, even when the --no-preserve=mode option is involved. Original file to copy: prwSrw-rw- 1 root staff 0 févr. 18 18:59

bug#30534: cp - Possible bugs when not preserving mode (explicit) and when copying special files

2018-02-24 Thread Pádraig Brady
On 20/02/18 00:04, Declercq Laurent wrote: > Le 20/02/2018 à 04:26, Pádraig Brady a écrit : >>> 2. Non-permission bits are preserved, even when the --no-preserve=mode >>> option is involved. >>> >>> Original file to copy: prwSrw-rw- 1 root staff 0 févr. 18 18:59 spfile >>> cp(1) command (run as

bug#30534: cp - Possible bugs when not preserving mode (explicit) and when copying special files

2018-02-20 Thread Declercq Laurent
Le 20/02/2018 à 04:26, Pádraig Brady a écrit : 2. Non-permission bits are preserved, even when the --no-preserve=mode option is involved. Original file to copy: prwSrw-rw- 1 root staff 0 févr. 18 18:59 spfile cp(1) command (run as root user): cp -r --no-preserve=mode spfile spfile_copy Current

bug#30534: cp - Possible bugs when not preserving mode (explicit) and when copying special files

2018-02-19 Thread Pádraig Brady
On 19/02/18 02:22, Declercq Laurent wrote: > I think that I did found at least two bugs in cp(1) command when the > --no-preserve=mode option is involved and when copying special file. I > describe each of them below. > > 1. Mode set on special files seem to be wrong: > > Original file to

bug#30534: cp - Possible bugs when not preserving mode (explicit) and when copying special files

2018-02-19 Thread Declercq Laurent
I think that I did found at least two bugs in cp(1) command when the --no-preserve=mode option is involved and when copying special file. I describe each of them below. 1. Mode set on special files seem to be wrong: Original file to copy: prw-rw-rw- 1 root staff 0 févr. 18 18:59 spfile cp(1)