Cannot create directory...
-
wrote on 15 Jul 2022, 21:11 last edited by
This time I am also getting " wrong path or permissions.."
Usually solved by running Ubuntu "disks" - check file / repair file / take ownership/
mountNot this time....
BTW the directory which cannot be "created" is where I start the project from, so it does already exists, hence cannot be created anyway.
-
wrote on 15 Jul 2022, 21:26 last edited by
if you do ll /mnt, you will see /mnt is under root. So you do not work there. Build your project somewhere else and copy your executable there if needed.
-
This time I am also getting " wrong path or permissions.."
Usually solved by running Ubuntu "disks" - check file / repair file / take ownership/
mountNot this time....
BTW the directory which cannot be "created" is where I start the project from, so it does already exists, hence cannot be created anyway.
wrote on 16 Jul 2022, 01:25 last edited by@AnneRanch Temporary " fixed" by removing "shadow build" option. Have no idea why its just started failing this way . Worked fine for months....
-
if you do ll /mnt, you will see /mnt is under root. So you do not work there. Build your project somewhere else and copy your executable there if needed.
wrote on 16 Jul 2022, 01:26 last edited by@JoeCFD Sorry, cannot do that ...it would break RAID for sure .
-
@AnneRanch Temporary " fixed" by removing "shadow build" option. Have no idea why its just started failing this way . Worked fine for months....
wrote on 16 Jul 2022, 02:03 last edited by@AnneRanch When you create a new project in QtCreator the shadow build directory is set, by default, outside the folder that the source code is in (there are good reasons for this). Being able to write where the source is does not guarantee the default shadow build location is writable; in your case it is not. The good news is, where QtCreator uses as the shadow build location is entirely within your control.
I suggest you enable shadow build and set the location to somewhere you can write e.g.,
~/build-project-Desktop_Qt_5_15_2_GCC_64bit-Debug
-
wrote on 17 Jul 2022, 03:29 last edited by
So my mistake is I select "shadow" directory SAME as my source , source being where my x.pro file is.
Or I am supposed to guess the check box belongs to next line...
So when shadow build is selected the "build" output goes there, not into source directory - as the doc say.Nothing to do with root or RAID as long as I own the RAID.
I guess I need to find where QT thinks my source directory is and pay attention where "build" outputs the results.
.
Thanks , appreciate your help.
1/6