Ncu unable to deploy stock section files

Hello, I keep running into the following error when trying to launch ncu. I have tried older versions as well as latest version. The directory is writeable.

==WARNING== Could not deploy stock section files to "/home/users/<username>/Documents/NVIDIA Nsight Compute/2025.2.0/Sections".
Set the HOME environment variable to a writable directory.
==WARNING== Using "/home/users/sharmaas/nsight_compute/../../sections" instead.
==WARNING== See https://docs.nvidia.com/nsight-compute/ProfilingGuide/index.html#faq.

I have tried manually creating the directory and populating it. I have tried creating a symlink as suggested in the FAQ. I have also tried setting the sections folder, in which case the program just hangs as below -

==WARNING== Could not deploy stock section files to "/home/users/<username>/Documents/NVIDIA Nsight Compute/2025.2.0/Sections".
Set the HOME environment variable to a writable directory.
==WARNING== Using "/home/users/<username>/nsight_compute/../../sections" instead.
==WARNING== See https://docs.nvidia.com/nsight-compute/ProfilingGuide/index.html#faq.

Is there anything else I can try?

I was able to resolve the issue. I want to add the warning is extremely misleading, because it has nothing to do with being able to create the directory. Rather has to do with the whether “/home/users//nsight_compute/../../sections” exists or not. Once I added the folder stock section files wrote just fine into “/home/users//Documents/NVIDIA Nsight Compute/2025.2.0/Sections”

Hi, @asterix_obelix

Sorry for the issue you met.
It seems the path of “section” is messed up in your ENV.
The folder should be under your installation path.

Not sure why in your machine ncu trying to find /home/users//nsight_compute/../../sections,

In our env, target/linux-desktop-glibc_2_11_3-x64 is added.
==WARNING== Could not deploy stock section files to “/localhome/swqa/sharmaas/Documents/NVIDIA Nsight Compute/2025.2.0/Sections”.
Set the HOME environment variable to a writable directory.
==WARNING== Using “/localhome/swqa/sharmaas/nsight_compute/target/linux-desktop-glibc_2_11_3-x64/../../sections” instead.