LinuxQuestions.org
Help answer threads with 0 replies.
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 08-27-2009, 02:48 AM   #1
tulsi
Member
 
Registered: Aug 2009
Location: Chennai
Posts: 54

Rep: Reputation: 15
Question I only execute the rwx and view the file


Hi


For example, I write the file like in vi or something.
I wanna execute but no one read , write and execute but one more thing no one to view the file like encrypt the file.
plz Help me
 
Old 08-27-2009, 03:36 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Hi tulsi,

If you want to deny other users any permissions on the file, use chmod:

chmod 0700 myfile

cheers,

kbp
 
Old 08-27-2009, 03:57 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
It seems like a homework. Why not search the web and try yourself what the tutorials say and then come if you still have issues.
 
Old 08-28-2009, 11:25 AM   #4
tulsi
Member
 
Registered: Aug 2009
Location: Chennai
Posts: 54

Original Poster
Rep: Reputation: 15
interactive

Quote:
Originally Posted by linuxlover.chaitanya View Post
It seems like a homework. Why not search the web and try yourself what the tutorials say and then come if you still have issues.
Hi

search engine like corpse.but this site is interactive between humans. so I wanna make questions for my clarification.
 
Old 08-28-2009, 12:44 PM   #5
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
You should take a look at search results for 'permissions' -- the resulting pages will tell you more than you ever thought possible about what limits can be set on a file.
 
Old 08-28-2009, 01:11 PM   #6
kdelover
Member
 
Registered: Aug 2009
Posts: 311

Rep: Reputation: 36
you can encrypt it with gpg -c <filename> but you cannot execute that as a script as far as i know
 
  


Reply

Tags
owner


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
gcc will not execute, responds with 'no such file or directory' and 'no input file' nckeecho Ubuntu 9 07-24-2016 01:04 PM
how to set "rw-r--r--" file permission instead of rwx------ htamayo Linux - Newbie 9 07-25-2008 02:36 PM
How to execute commands? How to view or check my root privileges? kensim00 Linux - Newbie 4 01-07-2007 11:19 PM
how to give 'guest' rwx permission on a file/directory RH9Linux Linux - Software 3 06-27-2005 08:59 PM
File access right (other than rwx) mfeoli Linux - General 2 06-09-2004 12:38 PM


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