Bug 458937 - rename over existing file operation not permitted
Summary: rename over existing file operation not permitted
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-09 22:07 UTC by Fernando Rodriguez
Modified: 2022-09-09 22:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Rodriguez 2022-09-09 22:07:43 UTC
SUMMARY

When using kdeconnect's "Browse this device" feature to mount the device's file system I cannot rename to a file that already exists. This is a problem because I use unison to sync my music library and when I file changes unison will copy the file to a temp file and then rename it over the old one and this gives an 'Operation not permitted' error.


STEPS TO REPRODUCE
1.  Mount the filesystem on the device by using the 'Browse this device' feature on kdeconnect.
2. On the terminal navigate to the directory where the device is mounted
3.  Run 'touch file1 file2' and then 'mv file1 file2'.

OBSERVED RESULT
The mv command fails with 'Operation not permitted'

EXPECTED RESULT

file1 overwrites file2


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.24.6
(available in About System)
KDE Plasma Version: 5.24.6
KDE Frameworks Version: 5.96.0
Qt Version:  5.15.5

ADDITIONAL INFORMATION
Android App version: 1.19.1