Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2003
    Posts
    187

    which chmod should i use?

    which chmod command would i use to make a file read, write and executable by the owner, and the group but not everyone else?

  2. #2
    Join Date
    Apr 2001
    Location
    Orlando, Florida
    Posts
    671
    chmod 770 filename
    Bert Kammerer
    ProNIC Solutions - pronicsolutions.com
    The Smart Internet of the Future (SM)
    Hosting on enterprise grade Dell servers with fast & redundant InterNAP bandwidth

  3. #3
    Join Date
    Jul 2002
    Location
    Kuwait
    Posts
    10,573
    chmod u+rwx,g+rwx,o-rwx filename

    User,Group,Others

    man chmod, and here is a nice article i wrote ages ago http://www.defcon1.org/html/Software...ing-chmod.html
    Bashar Al-Abdulhadi - KuwaitNET Internet Services Serving customers since 1997
    Kuwait's First Webhosting and Domain Registration provider - an ICANN Accredited Registrar

    Twitter: Bashar Al-Abdulhadi

  4. #4
    Join Date
    Mar 2002
    Location
    In My Own World
    Posts
    972
    This could useful for you in the future:

    http://javascriptkit.com/script/script2/chmodcal.shtml

    Have a great day!

    Tracy Phillips

Posting Permissions

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