View Issue Details

IDProjectCategoryView StatusLast Update
0002177Double Commanderpublic2019-02-25 21:12
Reporterzeroconf Assigned To 
PriorityhighSeveritytweakReproducibilityalways
Status acknowledgedResolutionopen 
ProjectionnoneETAnone 
Product Version0.8.4 
Summary0002177: SSH permissions, ownership cannot set
DescriptionIt's nice that FTP plugin supports now SSH (https://doublecmd.sourceforge.io/mantisbt/view.php?id=197) but it does not support changing UNIX permissions. Need to manually log in at command line via SSH and change permissions. Would expect configurable permissions per host under settings.
Would expect to have ability to change permissions also recursively. It would be nice if there could be set separate permissions to folders and files. E.g. usually in web server folders should be 755 and files 644. If to set recursively to folder 755 then also files will get that permission and that is not good.
Also other options that are possible to change in properties of file or folder (ALT+Enter while on file or folder) - ownership, permissions in graphical and manually by number and including special permissions.
Steps To Reproduce* open sftp connection to SSH server
* copy any file over SSH to server
* try to change permissions or ownership of file and/or folder in attributes tab in file/folder properties
* nothing happens (permissions are not changed)
Additional InformationDouble Commander
Version: 0.8.4 beta
Revision: 8272
Build date: 2018/08/18
Lazarus: 1.8.4.0
FPC: 3.0.4
Platform: x86_64-Linux-gtk2
OS version: Linux Mint 19 Tara

Widgetset library: GTK 2.24.32
TagsNo tags attached.
Fixed in Revision
Operating systemLinux
WidgetsetGTK2
Architecture64-bit

Activities

Alexx2000

2018-11-07 19:54

administrator   ~0002878

You can change permissions recursively via menu "Files"->"Change attributes".

zeroconf

2018-11-11 22:41

reporter   ~0002914

Yes but very uncomfortable it is. As you noticed - did not discover it. The title is same "Attributes" - why not open same dialog? Would propose to show same dialog in "Attributes" tab in ALT+Enter (File properties) dialog as it is in "Files"->"Change attributes". This choice in Files menu should remain but just bring it to the properties menu as well to allow easier access.
Also noticed that sometimes over SFTP it gives error while trying to rename file or folder but still does it if I refresh (CTRL+R) folder. Hopefully would it be possible to refresh automatically after renaming.

zeroconf

2018-11-11 23:03

reporter   ~0002915

Also when unmount SFTP share then in panel are files and folders still open. Currently there is needed to open manually any local folder in order to move away from already closed SFTP share.

zeroconf

2019-02-25 01:06

reporter   ~0003056

My question: why to show two different dialog "file properties" and "change attributes"? I see that "attributes" is second tab under file properties. Would it be possible to join these two commands into one? E.g. when opening "change attributes" then same properties dialog will open but directly from second tab. The main idea is that to change those attributes should work no matter which way to open. Currently just seeing two different windows for same thing and confusing is that attributes from properties dialog do not work but separate dialog works.

Alexx2000

2019-02-25 21:12

administrator   ~0003064

It is done like in Total Commander and for compatibility with Windows version. Under Windows and Linux with KDE4 "File properties" is a system properties dialog while "Change attributes" is DC dialog with additional features. "File properties" mostly for local file system, "Change attributes" for any file system. "Change attributes" in the future will inlude changing attributes via WDX-plugins.

Issue History

Date Modified Username Field Change
2018-11-07 19:17 zeroconf New Issue
2018-11-07 19:54 Alexx2000 Note Added: 0002878
2018-11-07 19:54 Alexx2000 Status new => feedback
2018-11-11 22:41 zeroconf Note Added: 0002914
2018-11-11 22:41 zeroconf Status feedback => new
2018-11-11 23:03 zeroconf Note Added: 0002915
2019-02-25 01:06 zeroconf Note Added: 0003056
2019-02-25 21:12 Alexx2000 Note Added: 0003064
2019-02-25 21:12 Alexx2000 Status new => acknowledged