LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 08: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, 08:22 AM   #2
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
Code:
man chmod
?
 
Old 10-23-2012, 02: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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