Debian Linux version 9.5 directory permissions and WinSCP version 5.13.3 ( Build 8565 ).

Russell

Active Member
Attention: windowsForum members:
This morning I finally figured out how to transfer files from Microsoft Windows 10 ( Home ) edition hard drive ( c: ) to my new Oracle VirtualBox Debian version 9.5 virtual machine ( VM ) operating system. If you receive the "Error message from server: Permission deined." error message, the way to solve this problem is:

1. Type in "su" at the Debian version 9.5 Linux prompt.
2. Enter your root password.
3. Type in "chmod 0777 </path/to/directory>" ( NOTE: "chmod 0755 </path/to/directory>" and "chmod 0775
</path/to/dircectory>" will not work ).
4. Type in "exit" at the Debian Linux version 9.5 root prompt to exit back to the regular Linux prompt.

Then, you can launch WinSCP, enter the internet protocol ( IP ) address of the virtual machine, enter the log-in credentials, navigate to the local and remote directories ( on the local and remote machines, respectively ), and then transfer the files. This solution has been provided in case there is someone on this forum who is having this problem ( to save time and headaches ). Thank you ( see Colossians 3:15, for example ) for your patience in answering my previous questions. Keep in touch.:)

Sincerely in Christ,
Russell E. Willis
P.S. - Please read Proverbs 23:23.
P.P.S. - The procedure given above assumes that you have already clicked on the "Settings" button in VirtualBox, and created a bridged adapter for your virtual machine ( before starting the virtual machine ). This is another discussion for another post, I suppose.
Holy_Bible_RSV_2_crop (692x687).JPG

"23 Buy truth, and do not sell it; buy wisdom, instruction, and understanding."
[ Proverbs 23:23; RSV ]

Russell E. Willis
3559 Almanac Road
Tallahassee, Florida 32309
 
Update to above posting:

1. Instead of choosing either to change permissions on the Debian version 9.5 Linux directory or clicking on the "Options" menu item in WinSCP, then clicking on "Preferences," then clicking on "Endurance," in the left pane of the "Preferences" dialog box, and then clicking the "Disable" radio button under the "Enable transfer resume/transfer to temporary filename for" field ( on the top, right side of the "Preferences" dialog box ), I did both ( sort of ). Click on this link: WinSCP: Permission denied. Error code: 3 Error message from server: Permission denied. ( Without the period at the end. )
2. With regard to the post postscript ( in the above posting ) concerning creating a bridged adapter, click on the following link ( see option two - it is easier than option one ): How to transfer files from Windows to Ubuntu on Virtualbox?. ( Again, without the period at the end. )
3. Concerning the use of "chmod 0777" ( as referenced in the above posting ), click on the following link, for example: Change Folder Permissons in Debian. ( Again, without the period at the end. ) :)
 
Back
Top