Find the answer to your Linux question:
Results 1 to 3 of 3
Hi Linux enthusiast. I'm having trouble with the Find / -perm command. I am trying to located all the files in my home directory + subdirectories granting read, write, execute ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    30

    Fedora 10 find command (updated 6:02 PM)

    Hi Linux enthusiast.

    I'm having trouble with the Find / -perm command. I am trying to located all the files in my home directory + subdirectories granting read, write, execute FOR ALL USERS.

    I don't know if I should do
    find / -perm +u=rwx
    find / -perm -u=rwx
    find / -perm -o=rwx
    find / -perm +o=rwx.

    Help much appreciated.
    Last edited by renegadeviking; 03-17-2009 at 11:02 PM. Reason: FOR ALL USERS

  2. #2
    Linux Newbie Ziplock's Avatar
    Join Date
    Jan 2009
    Location
    Adelaide
    Posts
    169
    Hi there,

    The following should do the trick:

    Code:
    cd ~
    find . -perm -007

  3. #3
    Just Joined!
    Join Date
    Jun 2007
    Posts
    30
    Quote Originally Posted by Ziplock View Post
    Hi there,

    The following should do the trick:

    Code:
    cd ~
    find . -perm -007
    Thank you, but it has to be written exactly those four options. It's homework.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...