Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2002
    Location
    UK
    Posts
    838

    SSH usergroup question

    Hi Everyone

    need a quick help on somethign quick question


    what command wud i use in SSH to change teh file permissions of all the Files and fodlers in that particular directory?

    at the moment i have a folder called main i want all the files in that folder and folders to have the group ownership of "me" and user "me"

    if that makes sense?

    i know u can chmod a folder using something like chmod 755 foldername

    but i want everything under that folder to be 755?

    thanks

  2. #2
    Join Date
    May 2005
    Location
    Canada
    Posts
    15
    chmod -R will do recursive changes

    To change user it would be chown & for group, it would be chgrp

    You can get the full info & usage on all three commands (chmod, chown, chgrp) by typing man <command>

  3. #3
    Join Date
    Feb 2004
    Posts
    772
    hi saj,

    To change permissions of all files and directories in your current directory AND change the permissions of all files and subdirectories:

    chmod -R 755 *
    chown & chgrp used for changing user & group.
    Bright Info Solutions

  4. #4
    Join Date
    Dec 2002
    Location
    UK
    Posts
    838
    Thanks guys !

Posting Permissions

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