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 |
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. |