Uploaded image for project: 'CoreOS OCP'
  1. CoreOS OCP
  2. COS-2592

Ignition should fail validation if a file conflicts with the parent directory of another file/link/dir

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Reproduction Steps:

      • Write a configuration with a file at /foo/bar and a file/directory/link at /foo/bar/baz.
        OR
      • Write a configuration with a file at /foo/bar and a directory at /foo/bar/baz.
        OR
      • Write a configuration with a file at /foo/bar and a link at /foo/bar/baz.
      Show
      Reproduction Steps: Write a configuration with a file at /foo/bar and a file/directory/link at /foo/bar/baz. OR Write a configuration with a file at /foo/bar and a directory at /foo/bar/baz. OR Write a configuration with a file at /foo/bar and a link at /foo/bar/baz.
    • 248 - Core Packages, 249 - Core Packages, 250 - Core Packages, 251 - Core Packages, 252 - Core Packages, 253 - Core Packages
    • 0
    • 0.000

      Issue Related

      Bug Details:

      Ignition currently lacks proper validation when a file conflicts with the parent directory of another file, link, or directory. This bug allows users to specify configurations that lead to internal inconsistencies.

      Expected Behavior:
      Ignition should not permit configurations that result in internal inconsistencies. It should fail validation if files, links, or directories conflict with implicit parent directories.

      Actual Behavior:
      Users can currently specify a file that conflicts with the parent directory.

              rh-ee-ydesouza Yasmin de Souza
              rh-ee-ydesouza Yasmin de Souza
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: