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

            Bug ID: 498888
           Summary: New files are created with all permissions enabled
    Classification: Frameworks and Libraries
           Product: kio-extras
           Version: 24.12.1
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: SFTP
          Assignee: plasma-b...@kde.org
          Reporter: kishor...@gmail.com
  Target Milestone: ---

SUMMARY
When creating new files in an SFTP folder, they are created with all
permissions enabled (rwx for everyone, setuid, and sticky).

STEPS TO REPRODUCE
1. Open an SFTP folder in Dolphin (in the address bar, type
sftp://USERNAME@SERVER:22/PATH_TO_FOLDER)
2. Right-click in the main veiw area > Create New > text file
3. Open the same folder in the terminal (ssh) and run `ls -lh` to see the
permissions of the newly created file

OBSERVED RESULT
```
-rwsrwsrwt 1 kishore kishore 0 Jan 19 18:09 test.txt*
```

EXPECTED RESULT
Sane permissions like `rw-r--r--`

SOFTWARE/OS VERSIONS
libssh 0.11.1
libssh2 1.11.1
openssh 9.9p1
sshfs 3.7.3
KDE applications: 24.12.1
Operating System: Arch Linux 
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-arch1-1 (64-bit)

ADDITIONAL INFORMATION
The same thing happens if we create a file in an SFTP location by saving a new
document in Kate.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to