fprime-util new --project error in folder without permissions
SMorettini opened this issue · 0 comments
SMorettini commented
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
- Create a directory
- Remove the permission to create file in the directory
- Run
fprime-util new --project
inside the directory created - 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