This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Theres, > apparently a permission problem. ========================================= netCDF 4.3.2: ncgen3/test-suite.log ========================================= # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: run_tests.sh ================== *** Testing ncgen3. *** creating classic file c0.nc from c0.cdl... ncgen: Permission denied ncgen: NetCDF: Not a valid ID ... It looks like you don't have permission to create files in the directory (or directories) in which you are running the tests. One possible cause is building the library from source as one user (e.g. root) and then trying to run "make check" as a different user. It's best to not use the "sudo" command before the "configure" or "make check" commands. Using "sudo" causes the LD_* environment variables to be ignored, as a security precaution. You can use "sudo make install" as the last step, but you shouldn't need to use "sudo" before that. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: BKO-671323 Department: Support netCDF Priority: Normal Status: Closed