LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 02: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, 02:23 AM   #2
micxz
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
Done'

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


Reply


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

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

All times are GMT -5. The time now is 11:49 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration