Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
/usr/src/kernels/2.6.32-358.6.1.el6.x86_64/include/linux/module.h
when i am trying to run this command as a root user its showing following error
bash: /usr/src/kernels/2.6.32-358.6.1.el6.x86_64/include/linux/module.h: Permission denied
plzz help!
Thanx
Did you run "/usr/src/kernels/2.6.32-358.6.1.el6.x86_64/include/linux/module.h"? It's not one executable command at all. It's a header file in the Linux Kernel source tree.
Related
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
My folder is /images/. There are .png, .gif and .jpg images in this folder. How do I change permissions of specific file extension .jpg to 644 under the folder via SSH?
Connect to the remote computer with ssh and then execute this command may work:
find /images/. -name "*.jpg" | xargs chmod 644
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
i've read that apache on ubuntu requires the first virtualhost file included will be the default website, so everyone prefixes the virtual host file with '000-'
is there anyway around this, such as using default or another option? i would like the default site to be a different file which i cannot change the name of the file so cannot prefix it with 000 (its a hard coded system, and the configs are generated automatically)
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have some video files stored on S3, and I want to get video information on them using ffmpeg. However, when I do a command such as :
$ ffmpeg -i 'http://test.s2.amazonaws.com/video.mov
I get a HTTP error 403 Forbidden response. How would I do this command? I also want to make sure not anyone can execute stuff on these files. Thank you.
Update: I was able to do this after making the ACL public-read=everyone for the video, didn't need to use s3fs after all.
You have two options:
You can download the file and run ffmpeg on localfile,
or you can use s3fs to mount your s3 bucket as a filesystem.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have created a backup of my database and now I want to dump it in to my local machine. My machine is linux machine and I have th eroot password for machine. I tried to dump the in to my local backup database using root password on ssh, but i keep getting an errror . "ERROR 1045 (28000): Access denied for user 'root'#'localhost' (using password: NO)". Please suggest me what to do
This is the command I am using " mysql < backup.dump.gz"
Try:
gunzip < backup.dump.gz | mysql -u root -p
And enter your password when prompted.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
This didn't work:
Setting the umask of the Apache user
Arch doesn't have a /etc/apache2/envvars file, and changing the /etc/rc.d/httpd script didn't change anything.
Maybe someone can enlighten me how/where to exactly change the rc-script, so apache has an umask 002
After trying again, strangely editing the /etc/rc.d/httpd file works.
Just put
umask 0002
Right after the #!/bin/bash and everything works as it should.
No idea why it didn't work before, but well...