Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 459  / 2 Years ago, wed, june 8, 2022, 6:14:19

I downloaded the "gspca" video for linux (v4l1) driver but when I tried to compile it, the terminal showed the following error:



$ cd gspcav1-20071224/
$ ~/gspcav1-20071224
$ ./gspca_build
bash: ./gspca_build: permission denied


I have no clue why I don't have permission in my own machine.


More From » permissions

 Answers
5

You need to grant execution permissions to the file. There are several ways to allow a file to be executed as a program :




  • Using Nautilus file manager, right click on your script file gspca_build and select Properties. Then go to the Permissions tab and check Allow executing file as program.



enter image description here




  • Using the command line, open a terminal and set gspca_build directory as your current directory. Then type the following command :



    sudo chmod +x gspca_build



You should now be able to execute your script.


[#33929] Thursday, June 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ncharm

Total Points: 255
Total Questions: 105
Total Answers: 118

Location: Virgin Islands (U.S.)
Member since Sat, May 6, 2023
1 Year ago
ncharm questions
;