Permission on sftp


 
Thread Tools Search this Thread
Operating Systems Solaris Permission on sftp
# 1  
Old 07-22-2015
Permission on sftp

Hi
I want copy file from redhat 6.5 to solaris10 with sftp, but i want any file with any permission auto change to 774 after copy.

Tank-you.
# 2  
Old 07-22-2015
I don't think this can be done with umask. umask can't set executable permissions. If you want it chmoded it, you will have to chmod.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Linux sftp — how to add new user to access exist directory with write permission?

I have built a website and I can access and edit the website'files on server via the root user. The current file and directory structures are not changeable. Now I am hiring a webpage designer to help me re-design some pages, I am going to let the designer edit the files directly on the server. So... (5 Replies)
Discussion started by: uwo-g-xw
5 Replies

2. Red Hat

Permission on SFTP

Dear concern, We want to send files in remote machine through "sftp test@ipaddress" command. But our intention is to change the owner of files from "test" user to "dev" user while uploding files through sftp. Is there any feature in sshd server to do the activity. Please advise. (2 Replies)
Discussion started by: makauser
2 Replies

3. Shell Programming and Scripting

Permission Denied in SFTP

Hello Guys, I am SFTPing from Solaris to Windows and accessing a softlink pointing to another server path (\\server\path). The same was working properly but I have made this connection passwordless and after that it show below error while accessing solftlink, couldn't canonicalise:... (9 Replies)
Discussion started by: Deei
9 Replies

4. Shell Programming and Scripting

Sftp : not able to print the echo statements after the sftp transfer

I had the below sftp script working perfectly but the problem is I am not able to send the echo statements . #!/bin/sh echo "Starting to sftp..." sftp admin@myip << END_SCRIPT cd /remotepath/ lcd /localpath/ mget myfiles*.csv bye END_SCRIPT echo "Sftp successfully." echo echo... (11 Replies)
Discussion started by: scriptscript
11 Replies

5. Red Hat

Chroot sftp users, remote sftp login shows wrong timestamp on files

Hello, I have a weird issue, I have RHEL 5.7 running with openssh5.2 where sftpgroup OS group is chroot. I see the difference difference in timestamp on files, when I login via ssh and SFTP, I see four hour difference, is something missing in my configuration. #pwd... (8 Replies)
Discussion started by: bobby320
8 Replies

6. Shell Programming and Scripting

SFTP show Permission is denied

Hi. I am running this line in AIX unix and I am getting the error Permission is denied. Could you help me on this please. rcp -p rgranado@sniux01:/homeusr/ven/edi/procesados/asn/* gisadm@sniux03:/gentran/SI51/install/HD_XML/OUT Please use next time code tags for your code and data (2 Replies)
Discussion started by: cucosss
2 Replies

7. Shell Programming and Scripting

SFTP-how to log individual sftp command error while executing shell script

Hi, I have situation where i need to automate transferring 10000+ files using sftp. while read line do if ; then echo "-mput /home/student/Desktop/folder/$line/* /cygdrive/e/folder/$line/">>sftpCommand.txt fi done< files.txt sftp -b sftpCommand.txt stu@192.168.2.1 The above... (1 Reply)
Discussion started by: noobrobot
1 Replies

8. Shell Programming and Scripting

File permission check in SFTP mode

Hi, I have requirement to get a file from a remote location using SFTP only if the file has read/write permission either to the user or to the group. Currently i m taking the ls of the required file and storing it in a flat file to check the file permission. Please advice is there any... (3 Replies)
Discussion started by: ravin
3 Replies

9. UNIX for Dummies Questions & Answers

sftp: Could'nt get handle: permission denied

Hi all, I tried to google this issue but I wound up having more questions; so I'm posting here. =) I have a client who connects to my unix server via sftp to pick up a file nightly. Usually, they have no issue doing this but today was different. Here's their log: MA_OFAC_RECEIVE module:... (1 Reply)
Discussion started by: gseyforth
1 Replies

10. Shell Programming and Scripting

sftp - permission setting check

Hello, I am doing a transfer of a file from one HP-UX ( umask : 033 ) server to another HP-UX server ( umask : 033 ) and file got transferred sucessfully. However I could see the file permission gets changed at the receiving end. Would like to know the reason for that? Details below: ... (3 Replies)
Discussion started by: jansat
3 Replies
Login or Register to Ask a Question