Permissions when using file_move

Andras Mantia amantia at virtualartisans.com
Sun Dec 8 13:09:24 GMT 2002


Hi,

 is it normal when I use KIO::file_move to move a file which permissions 600 
octal (R/W by the user), even if I specify 660 octal (R/W user & group) in 
the KIO::file_move as the permissions parameter, the resulted file will still 
have 600? I use:
 KIO::file_move(source, dest, 432, true, false, false);

- source has permission mode 384
- dest exists and has permission mode 432
- the result is that dest is correctly overwritten with source, but the 
permission remains 384.

Andras




More information about the kde-core-devel mailing list