Create folder under user home directory?

info-rchitect
info-rchitect Registered Posts: 193 ✭✭✭✭✭✭

Hi,

I need to create a folder under each users' home directory, and then write a configuration file to the newly created sub-folder. Is this possible?

thx


Operating system used: Windows 10

Best Answer

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,227 Dataiker
    Answer ✓

    You would have to do this outside of DSS using shell script and would likely have to use sudo.

    It could be done as shell recipe/python, given the user running the recipe has permission to create a folder inside the user's home directory, which is very unlikely in most setups.

Setup Info
    Tags
      Help me…