Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-23-2004, 02:03 AM   #1
Registered: Jul 2003
Location: Canberra, Australia
Distribution: Kororaa
Posts: 34

Rep: Reputation: 15
scp files from XP to linux perms problem


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

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,

Old 04-23-2004, 02:23 AM   #2
Senior Member
Registered: Oct 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131

Rep: Reputation: 75
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

Last edited by micxz; 04-23-2004 at 02:24 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
scp large files error sburns76247 Linux - Security 1 03-22-2005 06:23 PM
copy files....using scp help me suguname Mandriva 2 01-26-2005 02:14 AM
copy files....using scp help me suguname Mandriva 5 01-25-2005 06:42 AM
scp slow for tar files? kloppster Linux - Software 4 08-21-2004 09:14 PM
problem sending files with scp illiniguy3043 Linux - Newbie 1 06-27-2004 11:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration