meigel
When editing a remote file and sending the modified content back to the server the file permissions are lost.
Step-by-step instruction:
Ideas:
I suppose the file is uploaded like in a normal upload process allowing to override the target. Remembering the file permissions before editing and setting them afterwards could do the job.
My system info:
+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)
CPU Speed : 1594 MHz
Total Memory : 502 MB
Free Memory : 107 MB
+- SmartFTP ---------------------------
Version : 2.5.1005.18
Time Stamp : 2007-04-10 05:20:32
Platform : x86
+- Application DLL --------------------
sfFTPLib.dll : 1.5.9.14
sfFavorites.dll : 1.0.1.18
SmartHook.dll : 1.0.2.2
+- Language ---------------------------
SmartFTPDEU.dll : 2.0.1005.10
+- Internet Explorer ------------------
Version : 7.0.5730.11
+- Winsock ----------------------------
Winsock : 2.2
Step-by-step instruction:
- upload a file
- edit properties using "Properties/CHMOD" in context menu
- change the file permissions from default ones by setting "execute by user" for instance
- save file permissions selecting OK (and verify them)
- choose "Edit" from context menu
- insert some text in the editor
- save the file in your editor
- use "Upload" to send modifications to server (if not done automatically)
- choose "close" to end "Remote edit"
- refresh the directory listing using F5 or context menu (if you do not refresh, neither the server view nor the chmod-dialog will be updated)
- view properties using "Properties/CHMOD" in context menu
=> the changed file permissions are lost
Ideas:
I suppose the file is uploaded like in a normal upload process allowing to override the target. Remembering the file permissions before editing and setting them afterwards could do the job.
My system info:
+- System -----------------------------
Microsoft Windows XP Professional
Service Pack 2 (Build 2600)
CPU Speed : 1594 MHz
Total Memory : 502 MB
Free Memory : 107 MB
+- SmartFTP ---------------------------
Version : 2.5.1005.18
Time Stamp : 2007-04-10 05:20:32
Platform : x86
+- Application DLL --------------------
sfFTPLib.dll : 1.5.9.14
sfFavorites.dll : 1.0.1.18
SmartHook.dll : 1.0.2.2
+- Language ---------------------------
SmartFTPDEU.dll : 2.0.1005.10
+- Internet Explorer ------------------
Version : 7.0.5730.11
+- Winsock ----------------------------
Winsock : 2.2