LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I only execute the rwx and view the file (https://www.linuxquestions.org/questions/linux-newbie-8/i-only-execute-the-rwx-and-view-the-file-750570/)

tulsi 08-27-2009 02:48 AM

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

kbp 08-27-2009 03:36 AM

Hi tulsi,

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

chmod 0700 myfile

cheers,

kbp

linuxlover.chaitanya 08-27-2009 03:57 AM

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.

tulsi 08-28-2009 11:25 AM

interactive
 
Quote:

Originally Posted by linuxlover.chaitanya (Post 3659250)
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.

Poetics 08-28-2009 12:44 PM

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.

kdelover 08-28-2009 01:11 PM

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


All times are GMT -5. The time now is 02:56 AM.