Results 1 to 8 of 8
  1. #1

    Simple q: What's chmod a+w?

    Just wondering, what's chmod a+w is numeric terms? 666?

    Thanks,

  2. #2
    Join Date
    Oct 2003
    Location
    Georgetown, Ontario
    Posts
    1,761
    I believe it gives the admin group write access to the file you are chmoding.

    Therefor, it just adds writing capablities for the first number if you will. You can really tell what the numeric term is because it could be a combination of permissions such as read+write, or execute+write, etc.
    ии Repeat after me... ProSupport is the best... Prosupport is... ии
    ProSupport Host Support System - OUT NOW! Grab a copy yourself and see what the hype is about!
    VertiHost Inc. - We run a quality business. Do you?

  3. #3
    Hmm thanks, though do you know the exact numeric equivilant if I try and do this using FTP? I don't want to get it wrong, since it could be a security hazzard.

  4. #4
    Join Date
    Jul 2002
    Location
    Manchester, UK
    Posts
    774
    Originally posted by cMark
    I believe it gives the admin group write access to the file you are chmoding.
    Actually the "a" is for "all". So it gives everyone (user, group, others) write access to the file. The numeric value for this (which would mean no-one could read the file, only write, so it's not that useful) would be 222.

    However, remember "a+w" adds the permissions to the existing permissions.

  5. #5
    Thanks Phil!

  6. #6
    Join Date
    Oct 2003
    Location
    Georgetown, Ontario
    Posts
    1,761
    Originally posted by probonic
    Actually the "a" is for "all". So it gives everyone (user, group, others) write access to the file. The numeric value for this (which would mean no-one could read the file, only write, so it's not that useful) would be 222.

    However, remember "a+w" adds the permissions to the existing permissions.

    Oops. Im still learning.
    ии Repeat after me... ProSupport is the best... Prosupport is... ии
    ProSupport Host Support System - OUT NOW! Grab a copy yourself and see what the hype is about!
    VertiHost Inc. - We run a quality business. Do you?

  7. #7
    Join Date
    Feb 2003
    Location
    Kuala Lumpur, Malaysia
    Posts
    4,974
    +r = read +x execute

  8. #8
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,290
    r = read
    w = write
    u = permissions for file owner
    g = permissions for file group
    t = sticky bit
    x = execute or access
    s = suid

    probably forgot one or two
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

Posting Permissions

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