05-22-2006
Quote:
Originally Posted by System Shock
.. or for those of us who do not like to type that much
ls -l
and quickly scan the permissions column
There isn't a command that shows you which files are readable because all files are created readable. You'd have to manually make a file unreadable, so it makes no sense to have a command that displays only readable files, since 99.99% of files are readable.
not necessarily,
what if the files are created with read mode permission bit masked off?
(Ideally nobody would have opted that way)
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
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 (4 Replies)
Discussion started by: bobo
4 Replies
3. 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
4. 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
5. 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
6. 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
7. Ubuntu
hi all:
as we know , when usb flash disk plug in and aotu mounted , the default permission of the usb flash disk is 700. that means others have no permission . the question: how to make others have read/write permission when the aotu mounted usb flash disk pluge in ? thanks !! (0 Replies)
Discussion started by: arnold.king
0 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'm writing a post-upgrade script and I want to find which files don't have read and execute to everyone.
I can run a find . ! -perm, but then I have to use a list of the possible permissions (777,775, 755 etc). Is there a more elegant solution?
Thanks (2 Replies)
Discussion started by: Catullus
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
LEARN ABOUT DEBIAN
ekeyd-egd-linux
ekey-egd-linux(8) System Manager's Manual ekey-egd-linux(8)
NAME
egd-linux - EGD Entropy Daemon
SYNOPSIS
ekey-egd-linux [ -H hostip ] [ -p portno ] [ -b blocks ] [ -s shannons ] [ -D pidfile ] [ -r time ] [ -v ] [ -h ]
DESCRIPTION
ekey-egd-linux is a daemon which connects to an EGD server and places the read entropy in the kernels pool.
OPTIONS
-H hostip
Set the host IP address to connect to.
-p portno
Set the port number to connect to.
-b blocks
Set the number of 1024 bit blocks to request each time.
-s shannons
Set the number of shannons per byte.
-D pidfile
Specify the name and path of the file used to record the ekey-egd-linux process ID.
-r time
Set the time between reconnect attempts. The default (0) causes the daemon to exit immediately after the initial connection attempt
and no additional connection attempts are made. A non zero value set is the number of seconds the daemon will wait between connec-
tion attempts.
-h Print the usage text and exit.
-v Print the version number and exit.
SEE ALSO
ekeyd(8), ekey-rekey(8), ekey-setkey(8)
AUTHOR
Copyright (C) 2009 Simtec Electronics. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MER-
CHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19th July 2009 ekey-egd-linux(8)