Permission file questions--Please read!!!


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Permission file questions--Please read!!!
# 1  
Old 02-10-2007
Data Permission file questions--Please read!!!

1. I have an executable file that I have granted the users full permission "777" for it to work. I don't want the user to read this file! How can I prevent a user to read it?

Thanks
# 2  
Old 02-10-2007
Quote:
Originally Posted by bobo
1. I have an executable file that I have granted the users full permission "777" for it to work. I don't want the user to read this file! How can I prevent a user to read it?

Thanks
chmod 711 <file>
# 3  
Old 02-10-2007
Power is it possible?

I want to maintain 777 permission when the user do ls-l and this file shown full permission but when the user cat it it is unreadable! Is it possible????
# 4  
Old 02-10-2007
Quote:
Originally Posted by bobo
I want to maintain 777 permission when the user do ls-l and this file shown full permission but when the user cat it it is unreadable! Is it possible????
No, it is as the permissions are
# 5  
Old 02-10-2007
MySQL Thanks!

Thank You!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Checking if the directory has read and write permission

logMsg='Started by '${USER} LOG_MESSAGE "${logMsg}" resultCode=$? if ]; then return ${resultCode} fi touch ${FILELISTPATH} resultCode=$? if ]; then logMsg='failed to create file list:'${FILELISTPATH} LOG_ERROR "${logMsg}" CUSTOM_PREPROCESS ${FATAL} ... (2 Replies)
Discussion started by: raka123
2 Replies

2. Shell Programming and Scripting

Questions regarding permission of file.

Hi, I want to check for the permission of a folder. $ ls -ltrd /opt/domains/Logs/docs drwxr-x--- 2 user1 admin 96 Jul 9 2013 /opt/domains/Logs/docs $ find /opt/domains/Logs -name docs -perm -740 /opt/domains/Logs/docs $ echo $? 0 $ find /opt/domains/Logs -name docs... (2 Replies)
Discussion started by: mohtashims
2 Replies

3. Solaris

Read Only Permission after the space is full.

Hi, Is there any chance that a file system that mounted on the server becomes read only when the space in that file system becomes full? Regards, Sreejith (9 Replies)
Discussion started by: Sreejith K
9 Replies

4. Shell Programming and Scripting

perl script to check read/write/execute permission for 'others'

I want to check access rights permissions not for 'user', not for 'group', but for 'others'. I want to do it by system command in which i want to use 'ls -l' and 'awk' command. I have written the following program : #!/usr/bin/local/perl #include <stdlib.h> system ("ls -l | awk... (1 Reply)
Discussion started by: shubhamsachdeva
1 Replies

5. HP-UX

Lost Read permission on my folder

Hi I am a normal user on a HP-UX system which is meant for a large group. There are few directories which I think i am owner of. (Name of these directories is same as my username, and I usually have all the permissions in these directories). I was trying to give read and execute... (2 Replies)
Discussion started by: grvs
2 Replies

6. UNIX for Dummies Questions & Answers

CHMOD....read only permission

After creating a user account...how do i verify if theres only read access on the account. If not read access would i enter chmod a-xw "username"? (2 Replies)
Discussion started by: bigben1220
2 Replies

7. Shell Programming and Scripting

give permission to read a file

I want to give tester only the account tester to view the file /var/mail/root nobody else but him and of course the owner root w/o changing the permisions of /var/mail/root -rw-------. $ cat /var/mail/root cat: /var/mail/root: Permission denied (3 Replies)
Discussion started by: kenshinhimura
3 Replies

8. Programming

questions about non-blocking read()

Hi, I need to read incoming data from a serial port. I also need the read() to be non-blocking, such that my program can then check for any data to be send via the serial port. I followed some FAQs on the net, set read() to be non-blocking, and got EAGAIN errors popping out. I realise that... (3 Replies)
Discussion started by: oddabe
3 Replies

9. UNIX for Dummies Questions & Answers

Read Permission

How can view the list of only those files & directories which have read permission..! (9 Replies)
Discussion started by: vineetrocks2005
9 Replies

10. UNIX for Advanced & Expert Users

read permission but cant ls -l it.

ok what is the signifigance of the -l that wont let you list the contents of a directory you clearly have access to list files. what am i missing /tmp$ls -l hold hold/file1: Permission denied total 0 /tmp$ls hold file1 /tmp$ls -l dr-x---r-- 2 root other 179 Apr 23... (6 Replies)
Discussion started by: Optimus_P
6 Replies
Login or Register to Ask a Question