Permissions when using file_move
coolo at kde.org
Mon Dec 9 08:08:05 GMT 2002
Am Montag, 9. Dezember 2002 07:21 schrieb Matthias Welwarsky:
> On Sunday 08 December 2002 22:29, David Faure wrote:
> > This should fix it.
> > Hmm, this reverts a commit of mine...
> > revision 1.98
> > date: 2001/01/10 01:18:05; author: faure; state: Exp; lines: +3 -3
> > Don't chmod an existing file in put()
> > Ouch. Not sure anymore why I did that change (>1 year ago).
> > Can't make up my mind on this. Anyone ? :)
> Perhaps just copy the behaviour of "mv" and "cp" here? mv and cp never
> maintain the filemode of the destination file. They respect the users
> umask, unless cp is used with -p, where it preserves the source files
But you can't specifiy -p with konqueror so konqueror needs to do what
has the smallest impact and that's -p's behaviour I'd say (or -a in that
More information about the kde-core-devel