LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hi,

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,

Chris
 
Old 04-23-2004, 01:23 AM   #2
micxz
Senior Member
 
Registered: Sep 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
Done'

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


Reply



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 05:23 PM
copy files....using scp help me suguname Mandriva 2 01-26-2005 01:14 AM
copy files....using scp help me suguname Mandriva 5 01-25-2005 05:42 AM
scp slow for tar files? kloppster Linux - Software 4 08-21-2004 08:14 PM
problem sending files with scp illiniguy3043 Linux - Newbie 1 06-27-2004 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 PM.

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