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
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
2. UNIX for Dummies Questions & Answers
How can view the list of only those files & directories which have read permission..! (9 Replies)
Discussion started by: vineetrocks2005
9 Replies
3. Programming
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
4. Shell Programming and Scripting
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
5. UNIX for Dummies Questions & Answers
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
6. HP-UX
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
7. Shell Programming and Scripting
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
8. Solaris
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
9. Shell Programming and Scripting
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
10. UNIX for Beginners Questions & Answers
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