Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-23-2012, 09:10 AM   #1
LQ Newbie
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
give full permissions to remote file in sftp command

Hi All,

How can we provide full permissions to a remote file after transmitting using sftp
Old 10-23-2012, 09:22 AM   #2
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,168

Rep: Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890Reputation: 890
man chmod
Old 10-23-2012, 03:10 PM   #3
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Did you send or receive a file using sftp, pls mention clearly?
On the other hand, on Unix side, you can use following cmd to reset permissions of a file/dir.:
chmod <options> <new-permissions> <file/dir>
For example,
chmod 755 mydata
You can refer "chmod" man page for more options and clarification.


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
provide a full permission to remote file using sftp vikash.thbs Programming 2 10-23-2012 09:34 AM
How to Give Permissions to a FILE ? redhat70 AIX 3 07-14-2012 08:58 AM
Ubuntu/debian: Is there a way to give permissions for users to use SHUTDOWN command? frenchn00b Linux - General 14 01-13-2010 04:37 PM
How to set file permissions using SFTP client thesignchef Linux - Server 3 04-27-2009 01:00 PM
What is the the command line that will give me full DNS IP address? mrdancemachine Linux - Networking 17 05-19-2008 06:53 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:35 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