Computing.Net > Forums > Unix > Unix world writable directory scrip

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Unix world writable directory scrip

Reply to Message Icon

Name: ketan_java
Date: May 8, 2006 at 17:56:40 Pacific
OS: Unix
CPU/Ram: PIV
Product: PIV
Comment:

Hi all,
I need this script badly, could anyone please help me out for it? I tried toooo hard to write this but I don't find any proper solution for it.
Description:
To find world writable directories from one directory on network and log those directory names with full path to one log file.

I know there are some directories those are world-writable and need not to be logged in this log.

Following is more explanation:

Dir1 (this is the directory from where i want to find world writable directories)
Dir1.1
Dir1.2
Dir1.3
Dir1.4
Dir1.5

I know Dir1.2 is world-writable directory but about other directories I don't know. Now I need a script which finds world writable diretories from Dir1 and log the names of them in to Test.log but this list should not contain Dir1.2 (As I know it is world writable directory)

And at last, this script should send a mail to abc@def.com

I tried hard using the "find" command in unix.

Please anyone could provide such script?

Thanks in advance.

Regards,
Ketan



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Unix world writable directory scrip

Unix script www.computing.net/answers/unix/unix-script-/7384.html

Unix ownership from directories and www.computing.net/answers/unix/unix-ownership-from-directories-and/5663.html

unix instilation floppies www.computing.net/answers/unix/unix-instilation-floppies/3614.html