nasa / fprime-tools

F´ Python tooling and helpers.
https://github.com/nasa/fprime
Apache License 2.0
20 stars 38 forks source link

fprime-util new --project error in folder without permissions #133

Closed SMorettini closed 1 year ago

SMorettini commented 1 year ago
fprime-tools Version 3.2.1
Affected Component

Problem Description

When trying to create a new project inside a directory without the right permission, a general error is returned.

How to Reproduce

  1. Create a directory
  2. Remove the permission to create file in the directory
  3. Run fprime-util new --project inside the directory created
  4. You should have the error [ERROR] [Errno 2] No such file or directory: '/your_folder/new_fprime_project/project.cmake

Expected Behavior

I would expect an error more related to the problem. Something like

[ERROR] Cannot created a directory, permission denied