03-03-2009
Find File with permission below 664
Hi
Using find i want to find files with permission below 664.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
All,
I am running a script , which has permision as below
-r-xr-x--- 1 pmgr ffw 11660 Sep 3 2003 ccln
and tring to delete the file in the directory inter
(sys212:pct:/>) ll | grep ^d
dr-xr-xr-x 32 bin bin 8192 Dec 24 03:24 etc
drwxr-xr-x 32... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
2. Cybersecurity
Hello,
i need some help/advice on how to solve a particular problem.
these are the users:
|name | group |
---------- ---------------
|boss | department1 |
|assistant | department1 |
|employee | department1 |
|spy | department2 |
this is the... (0 Replies)
Discussion started by: elzalem
0 Replies
3. Fedora
Hello. I need to write a script that lets the user pick a directory. Then, all files are looped through, and the ones with read-write (for current user I think) are listed. Ending with a count of those files, but that parts easy. What I'm confused about is the middle.
So far I have
... (15 Replies)
Discussion started by: Feuyaer
15 Replies
4. Shell Programming and Scripting
Hi,
When I use the Find command under the root directory ("/") of my Ubuntu, I get the good answers mixed inside a long list of "Permission non granted" (in fact and with my French version, I get "Permission non accordée" !).
After several unsuccessful tries with -perm or -executable options... (4 Replies)
Discussion started by: Micla
4 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm trying to search for files with a particular pattern using the below command.
find . -name file_1.txt -print
It gives Permission denied error on several files, using standard error, how do we ignore this error and print only the valid matches.
find:... (1 Reply)
Discussion started by: Dev_Dev
1 Replies
6. UNIX for Dummies Questions & Answers
Can any one tell me is there any command to find out who changed the permission of a file Or is there any log file so that i can find out who has changed the permission of a file?
Thanks in Advance:) (7 Replies)
Discussion started by: Uttamnsd
7 Replies
7. Shell Programming and Scripting
find . -type fl
o/p is only the ordinary file. where in it wont give the link files. (2 Replies)
Discussion started by: nikhil jain
2 Replies
8. 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
9. UNIX for Dummies Questions & Answers
Hi,
I am using the following find command to search for file permissions that I have to correct
find . -perm 777 -type f -print
find . -perm 777 -type d -print
I then do a chmod o-w,o-r,o-x to make them not not 777.
I am also needing to search for where the others has... (1 Reply)
Discussion started by: newbie_01
1 Replies
LEARN ABOUT DEBIAN
pod::abstract::filter::find
Pod::Abstract::Filter::find(3pm) User Contributed Perl Documentation Pod::Abstract::Filter::find(3pm)
NAME
Pod::Abstract::Filter::find - paf command to find specific nodes that contain a string.
DESCRIPTION
The intention of this filter is to allow a reduction of large Pod documents to find a specific function or method. You call "paf find
-f=function YourModule", and you get a small subset of nodes matching "function".
For this to work, there has to be some assumptions about Pod structure. I am presuming that find is not useful if it returns anything
higher than a head2, so as long as your module wraps function doco in a head2, head3, head4 or list item, we're fine. If you use head1 then
it won't be useful.
In order to be useful as an end user tool, head1 nodes (...) are added between the found nodes. This stops perldoc from dying with no
documentation. These can be easily stripped using: "$pa->select('/head1')", then hoist and detach, or reparent to other Node types.
A good example of this working as intended is:
paf find select Pod::Abstract::Node
AUTHOR
Ben Lilburne <bnej@mac.com>
COPYRIGHT AND LICENSE
Copyright (C) 2009 Ben Lilburne
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.10.1 2010-01-03 Pod::Abstract::Filter::find(3pm)