Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-129

wrong permissions of /etc/netif.d

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • sys-apps/openrc

      All sys-apps/openrc ebuilds as of today do explicitly set the permissions of /etc/netif.d to 0644, using this statement:

      chmod -R 0644 ${D}/etc/netif.d || die

      I suppose the intention is to change permissions of the contained files to the given value, but apparently this applies to the directory as well. Of course, this is wrong since directories need to be executable.

      Assuming there might be subdirectories to /etc/netif.d in the future, a possible fix would be to:
      bg. find /etc/netif.d -type f -exec chmod 0644 '{}' \; -o -type d -exec chmod 0755 '{}' \;

            Unassigned Unassigned
            n0-1 Phil
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: