Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-18-2012, 12:16 AM   #1
LQ Newbie
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
knowing all files/directories with the 777 file permissons in system running RHEL6

i want to know all those files through out the system that carry 777 file permissons and want to change them as per their usage.I am working on RHEL6 and on HP-UX.Can I do this using any script in one go.Please suggest.
Old 09-18-2012, 12:24 AM   #2
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 558
Blog Entries: 5

Rep: Reputation: Disabled
You can use following to find out the file carry full permissions

find / -type f -perm 0777

To change the permission 777 - 755

$ find /home/arun -type f -perm 777 -print -exec chmod 755 {} \;


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
system call to know the files and directories in pwd ( alternative to ls command ) vlrk Linux - Newbie 1 03-03-2010 06:30 PM
Linpus Fedora after saving files to file system, CAN'T open FILE SYSTEM from desktop! remiwa Fedora 2 01-07-2009 07:28 AM
file permissons mahmoud Linux - Newbie 12 12-25-2008 12:26 AM
777 directories and deleting files? emme0032 Linux - Security 4 10-31-2006 11:27 AM
Changing Ftp Directories Into 777(rwe) rogier1983 Linux - Networking 0 07-28-2005 07:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration