Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-6092

Identify Windows-specific file/folder flags in Windows (e.g. hidden, archive)

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: PUP 4.4.0
    • Fix Version/s: None
    • Component/s: Windows
    • Labels:
    • Environment:

      A Windows system with a file or folder with the hidden attribute set, e.g. C:\hidden
      Puppet agent installed

    • Template:
    • Team:
      Coremunity

      Description

      Puppet describe file "c:\hidden" does not provide any way to identify if that file is hidden. In Linux, identifying hidden files is .trivial and not an attribute. However, the Windows platform does this very differently.

      The file provider for windows (whether POSIX or Windows, i'll let the Dev's decide) should indicate the relevant attributes, including its hidden-ness, archive-iness, etc.

      Additionally, the ability to easily set these attributes would be nice, rather than having to call an exec to powershell, attrib.exe, etc.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              paul.anderson Paul Anderson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support