[Bug 224910] New: KIO changing files permissions on upload

Jakub Caban kuba at whyblack.pl
Sat Jan 30 18:44:27 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=224910

           Summary: KIO changing files permissions on upload
           Product: kde
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: kuba at whyblack.pl


Version:            (using Devel)
Compiler:          GCC 4.4 
OS:                Linux
Installed from:    Compiled sources

I faced this  problem trying out KDevelop4 on KDE 4.3.95. When I upload any
file from my drive to remote machine, it has changed file permissions to 600
after upload.

Niko Sams provided small test application to test if this is KIO problem:

http://websvn.kde.org/*checkout*/trunk/extragear/sdk/kdevelop-plugins/upload/tests/permissions.cpp

When I ran it:

My command was:

tests/permssions ~/[path]/index.php sftp://[server]/[path]/index.php

On my computer:
ls -l ~/[path]/index.php
-rw-r--r-- 1 lustmored lustmored 899 Jan 28 21:35 /[path]/index.php

Remote:
-rw------- 1 [user] [user] 899 Jan 30 19:16 index.php

I see permission change. It happens every time I create new file on remote this
way. I found that copying files using drag'n'drop in Dolphin works without
problem (at least when I tested it).

How to reproduce:
- download this test application
- upload anything to remote server

Expected behavior:
- File created on remote with same permissions

Actual result:
- File created on remote with 600

I will be happy to provide any more informations, but don't know what could be
useful, so please just ask.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list