LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-23-2012, 09:10 AM   #1
vikash.thbs
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
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Code:
man chmod
?
 
Old 10-23-2012, 03:10 PM   #3
shivaa
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.:
Code:
chmod <options> <new-permissions> <file/dir>
For example,
Code:
chmod 755 mydata
You can refer "chmod" man page for more options and clarification.
 
  


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
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


All times are GMT -5. The time now is 08:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration