LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   scp files from XP to linux perms problem (https://www.linuxquestions.org/questions/linux-software-2/scp-files-from-xp-to-linux-perms-problem-173584/)

taskara 04-23-2004 01:03 AM

scp files from XP to linux perms problem
 
Hi,

I'm hoping someone may have an answer for me! :scratch:

I have a friend in Brisbane who is using the ssh file transfer client under windows XP to send files remotely to a debian linux server on windows network.

The files that are uploaded to the linux server become owned by him, and other users on the windows network can't make any changes to them (they open read only).

Is there a umask option or something for ssh like ftp and samba? so that any file will be read write available to everyone in the users group?

Any ideas!?

Many Thanks,

Chris

micxz 04-23-2004 01:23 AM

Those files created on windows have no linux permission bits set until the gets on the server. I think the best solution for you would be to simply excute:

chown -R user:group *;chmod -R 774 *;

after the secure copy
Done'


All times are GMT -5. The time now is 10:45 PM.