Re: wish: cp: output some sort of message if copying was interrupted

2009-06-01 Thread Philip Rowlands
On Sun, 24 May 2009, Elmar Stellnberger wrote: If I issue a 'cp -a' on one konsole and a 'killall -s SIGINT cp' on another konsole cp -a will terminate just as if it had finished copying. Not quite; the exit status passed to the calling process will show the signal used to terminate cp.

chmod on symlink

2009-06-01 Thread Marc Perkel
I'd like to be able to run chmod on a symlink so that users can't delete the symlink. Can it be done? ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: chmod on symlink

2009-06-01 Thread Bob Proulx
Marc Perkel wrote: I'd like to be able to run chmod on a symlink so that users can't delete the symlink. Can it be done? The permissions, owner, and group of a symlink are not significant. They are there only because other files have them and symlinks were fitted into the existing framework

Re: chmod on symlink

2009-06-01 Thread Kamil Dudka
On Monday 01 of June 2009 23:14:17 Marc Perkel wrote: I'd like to be able to run chmod on a symlink so that users can't delete the symlink. Can it be done? No. It's even not possible with a regular file. You can remove ordinary file which you have no rwx access to. You rather want to adjust