Description
documentation shows the command run without sudo. ideally sudo should only be required for specific operations and anything that does need to be run as root would run as user.
gmarzot@GMARZOT-LAPTOP:~/Projects/moq/folly$ ./build/fbcode_builder/getdeps.py install-system-deps --dry-run --recursive
Traceback (most recent call last):
File "/home/gmarzot/Projects/moq/folly/./build/fbcode_builder/getdeps.py", line 1484, in
sys.exit(main())
File "/home/gmarzot/Projects/moq/folly/./build/fbcode_builder/getdeps.py", line 1467, in main
return args.func(args)
File "/home/gmarzot/Projects/moq/folly/./build/fbcode_builder/getdeps.py", line 74, in run
opts = setup_build_options(args)
File "/home/gmarzot/Projects/moq/folly/build/fbcode_builder/getdeps/buildopts.py", line 591, in setup_build_options
subprocess.check_output(
File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.10/subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: 'mkscratch'