bug#14972: cp docs should mention permissions result when destination already exists

2013-07-28 Thread jidanni
Thanks.

bug#14972: cp docs should mention permissions result when destination already exists

2013-07-28 Thread Pádraig Brady
Better to be explicit I suppose. How about: -In the absence of this option, each destination file is created with the +In the absence of this option, the permissions of existing destination +files are unchanged, while each new file is created with the mode bits of the corresponding source file, m

bug#14972: cp docs should mention permissions result when destination already exists

2013-07-27 Thread jidanni
Fellows, I don't think (info "(coreutils) cp invocation") mentions how $ touch m $ cp m n $ chmod 444 m $ cp m n #THESE LINES $ cp m p #MAKE DIFFERENT THINGS $ ls -l -r--r--r-- 1 jidanni jidanni 0 07-28 11:20 m -rw-r--r-- 1 jidanni jidanni 0 07-28 11:21 n -r--r--r-- 1 jidanni jidanni 0 07-28 11:21