nasa/fprime-tools

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

SMorettini opened this issue · 0 comments

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