LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 08-27-2009, 03:48 AM   #1
tulsi
LQ Newbie
 
Registered: Aug 2009
Location: Chennai
Posts: 20
Thanked: 0
Question I only execute the rwx and view the file


[Log in to get rid of this advertisement]
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
windows_xp_2003 tulsi is offline  
Tag This Post , ,
Reply With Quote
Old 08-27-2009, 04:36 AM   #2
kbp
Member
 
Registered: Aug 2009
Posts: 484
Thanked: 44
Hi tulsi,

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

chmod 0700 myfile

cheers,

kbp
linuxfedora kbp is offline     Reply With Quote
Old 08-27-2009, 04:57 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Ubuntu Karmic, CentOS 5.4
Posts: 2,508
Thanked: 162
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.
linuxubuntu linuxlover.chaitanya is online now     Reply With Quote
Old 08-28-2009, 12:25 PM   #4
tulsi
LQ Newbie
 
Registered: Aug 2009
Location: Chennai
Posts: 20
Thanked: 0

Original Poster
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.
windows_xp_2003 tulsi is offline     Reply With Quote
Old 08-28-2009, 01:44 PM   #5
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,166
Thanked: 6
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.
linux Poetics is offline     Reply With Quote
Old 08-28-2009, 02:11 PM   #6
kdelover
Member
 
Registered: Aug 2009
Posts: 159
Thanked: 12
you can encrypt it with gpg -c <filename> but you cannot execute that as a script as far as i know
linux kdelover is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 8 01-10-2009 02:18 PM
how to set "rw-r--r--" file permission instead of rwx------ htamayo Linux - Newbie 9 07-25-2008 03:36 PM
How to execute commands? How to view or check my root privileges? kensim00 Linux - Newbie 4 01-08-2007 12:19 AM
how to give 'guest' rwx permission on a file/directory RH9Linux Linux - Software 3 06-27-2005 09:59 PM
File access right (other than rwx) mfeoli Linux - General 2 06-09-2004 01:38 PM


All times are GMT -5. The time now is 07:36 AM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration