flyfire / droidsshd

Automatically exported from code.google.com/p/droidsshd
0 stars 0 forks source link

File permission correction #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Copying files from phone to linux

What is the expected output? What do you see instead?
If copying files from the phone to a Linux computer then the rights are copied 
1:1 from Android (---xrwxr-x or 0175) and because android uses for every 
program a different user the rights are correct like this on the phone. On the 
computer the rights are a bad idea, because the actual user can't read these 
files nor change to a directory without changing the permission. So please add 
an option to correct the rights while transfering for Linux user to 0775 for 
every directory and 0644 for every file.

What version of the product are you using? On what operating system?
0.6 with sftp-server binary added

Original issue reported on code.google.com by mail.sni...@gmail.com on 18 Oct 2011 at 3:51