Find the answer to your Linux question:
Results 1 to 5 of 5
I am having a few security issues with fedora15. they are like i cannot modify any folder in orher partitions of my HDD unless i am a root user. i ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    89

    configure fedora 15

    I am having a few security issues with fedora15. they are like i cannot modify any folder in orher partitions of my HDD unless i am a root user. i have tried the GUI approach bt it doesnt help. there are more than a few hundred folders with thousands of files in total. tell me a way so that i can change permissions for one drive at once.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    As root, you can change the permissions on a file system using "chmod -R" which will walk through the entire specified directory tree. Example:
    Code:
    chmod -R /home/somedirectory ugo+rw
    That will make all files and sub-directories read+write for all users under /home/somedirectory, as well as /home/somedirectory.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    89

    [Problem Solved]

    I mane a shell script
    sudo chown -R <username> *

    kept it in drives and double click
    and it all changed

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by antonio_helder2002 View Post
    I mane a shell script
    sudo chown -R <username> *

    kept it in drives and double click
    and it all changed
    Caveat sysadmin! Remember, these files/directories are now accessible by EVERYONE!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Mar 2009
    Posts
    89
    As I am the only user and do not have access to internet all day so it is absolutely fine for me

Posting Permissions

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