Bug 416735 - Remote mountpoint files permission problem
Summary: Remote mountpoint files permission problem
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: krviewer (other bugs)
Version First Reported In: 2.7.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-25 10:33 UTC by Pyroman
Modified: 2020-01-27 21:28 UTC (History)
2 users (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 Pyroman 2020-01-25 10:33:02 UTC
SUMMARY
Viewing (with F3) and deleting files from remote mountpoint fails with permission denied error, but editing (with F4) and saving works.

STEPS TO REPRODUCE
Create a file /tmp/test.txt on remote machine with permission 660 and owner, say, www-data:www-data. User on remote machine should be in group www-data.
Mount remote machine directory:  sshfs username@remote:/ /home/username/mnt/remote -o allow_other
Navigate Krusader to file /home/username/mnt/remote/tmp/test.txt and try to view (F3) or delete (F8), it will fail. (deleting fails silently)
 But, editing (F4) and saving works. Also I can open file in other apps (Kate, for example). 
Deleting from local terminal also works.
(Using trash directory is disabled in Krusader settings)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon 5.17.5
(available in About System)
KDE Plasma Version: 5.17.5 
KDE Frameworks Version: 5.66.0
Qt Version: 5.13.2
Comment 1 Pyroman 2020-01-25 10:55:29 UTC
Deleting from Dolphin works too, btw. (shift+del, e.g. without moving to trash)
Comment 2 Pyroman 2020-01-25 11:00:55 UTC
Sorry, I was a little wrong: deleting from Krusader works, but viewing not.
Also I can rename, move or copy that file using Krusader.
Comment 3 Alex Bikadorov 2020-01-27 17:59:34 UTC
Okay, so "only" viewing the file in KrViewer fails.
Can you post a screenshot or the exact error message please?
Comment 4 Pyroman 2020-01-27 21:28:11 UTC
(In reply to Alex Bikadorov from comment #3)
> Can you post a screenshot or the exact error message please?

https://i.imgur.com/qXPW4Ua.png