sassoftware / sassoftware/pyviyatools

Validate and correct erroneous folder paths values used by createfolders.py and applyfolderauthorization.py before their processing

Open
#259 2 comments 0 reactions 1 assignee View on GitHub

@gerrynelson63 is already working on this.

Since Apr 22, 2026.

enhancement
Dominant language
Python
Stars
50
Forks
42
PR merge metrics
No merged PRs in 30d

Description

Hi Gerry,

When you can, could you develop a couple of enhancements for applyfolderauthorization.py and createfolders.py please? It seems that the presence of trailing slashes, spaces and/or hidden chars on the end of folder paths all cause issues when creating folders or applying permissions using the Viya CLI. These enhancements would mitigate those 'gotchas' by regulating the quality of the input data.

Enhancements:

  1. createfolders.py
    Scan folder paths being fed in and strip off any surplus spaces and hidden characters between the final char of each folder path and the comma separator.

  2. applyfolderauthorization.py
    Scan folder paths being fed in and strip off any surplus spaces and hidden characters between the final char of each folder path and the comma separator.
    Scan folder paths being fed in and strip off any trailing slashes (the same enhancement that was previously implemented in #179 to createfolders.py)

Many thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.