Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-3100

RH124-438: chmod a+rwx and chmod +rwx not equivalent

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Can't Do
    • Icon: Minor Minor
    • RH124 - RHEL 8 1 20190531
    • RH124 - RHEL 8 1 20190507, RH124 - RHEL 7 3 20170803
    • RH124
    • None
    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)|
      Workaround:

      Description: In ch06s02 we talk about using chmod with symbolic permissions, and introduce the 'chmod a+rwx filename' syntax.  We also introduce numeric permissions.  But we do not introduce umask until ch06s04.

      In ch06s02 we avoid talking about the 'chmod +rwx filename' syntax, which is similar to a+rwx except that permissions masked by umask are not set by +rwx.  This makes it harder to use and also requires that students know about umask, which we haven't introduced yet.  For those reasons, we've avoided talking about that.

      The behaviour of +rwx is documented in the chmod(1) man page in paragraph 3 of the DESCRIPTION.

      It's been suggested that we need to comment on this behavior, which can be unexpected.

              rhn-support-sapaul Saumik Paul
              rht-sbonnevi Steven Bonneville
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: