i want to install openssh from source on Ubuntu. i downloaded the source   ./configure make sudo make install   but with this last command, i get the following error:  (cd openbsd-compat &amp;&amp; make) make[1]: Entering directory '/home/pc/Desktop/openssh-7.6p1/openbsd-compat' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pc/Desktop/openssh-7.6p1/openbsd-compat' ./mkinstalldirs /usr/local/bin make: execvp: ./mkinstalldirs: Permission denied Makefile:313: recipe for target 'install-files' failed make: [install-files] Error 127   What can i do please to fix this error ? i can't find a solution !
124282
I'm trying to install llvm. I cloned the repository and ran ./configure. Now, I need to run sudo make install. When I run this, I get the following errors:  harshilsharma63@ubuntu:~/llvm$ sudo make install [sudo] password for harshilsharma63:  llvm[0]: Installing include files make: execvp: /home/harshilsharma63/llvm/autoconf/mkinstalldirs: Permission denied make: *** [install-local] Error 127 harshilsharma63@ubuntu:~/llvm$ sudo make install llvm[0]: Installing include files make: execvp: /home/harshilsharma63/llvm/autoconf/mkinstalldirs: Permission denied make: *** [install-local] Error 127   I have installed build-essentials. I cloned the repository using svm in fedora and copied the downloaded files from Fedora -> Windows -> Ubuntu.  Note: I'm using Ubuntu 12.04
87950
Compiling and installing software is a pain and problem I cannot overcome. I just want to run down through my understanding of this process with someone more knowledgeable to clear my mind to get to the next level.   Many scientific software I need are not distributed as packages. I understand "./configure" sets up the compilation variables and checking for dependencies "make" does the compilation "sudo make install" puts all the libraries and bins in their places. However it never works. I rarely get out of the a) "./configure" stage without entering dependency hell, and if I do, b) "sudo make install" will probably nuke my box.   a) The dependency hell is very frustrating. Sometimes I have the library, but it doesn't like it. Or the library doesn't want to install. Or "configure" can't find it. Or my distro placed it somewhere it shouldn't be. Or there are two versions in my system. Problem is, I can't understand how to diagnose and therefore fix these problems. What are some good references to learn for someone who doesn't need to become a programmer?  b) My understanding is "make install" will replace some libraries and change settings without my package manager being aware of this. Therefore, some programs won't run, others can't be updated.  So, if I don't use "make install", and just keep the compiled binary in my user directory with a symbolic link added to the PATH, will I be in the clear?   My box is single user, has tons of free HD so I don't really care about having multiple (dozens) of copies of libraries if that will solve my problems. Space is cheap.
106778
I'm trying to connect to another computer in my house via ssh. Both computers have ubuntu and openssh installed. When I run the command "ssh username@ip" on terminal I'm asked for the user's password I'm trying to connect to. I type it but I get this error "Permission denied, please try again." I'm sure the password is correct, then why can't I access?
105487
I'm trying to  working on Linux. I have PAINSTAKINGLY installed NVidia drivers, Cuda 5.0 and incidentally I'm failing on the last step when I run make:  make  all-recursive make[1]: Entering directory `/var/progs/CudaMiner' Making all in compat make[2]: Entering directory `/var/progs/CudaMiner/compat' Making all in jansson make[3]: Entering directory `/var/progs/CudaMiner/compat/jansson' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..     -g -O2 -MT dump.o -MD -MP -MF .deps/dump.Tpo -c -o dump.o dump.c /bin/bash: gcc: command not found make[3]: *** [dump.o] Error 127 make[3]: Leaving directory `/var/progs/CudaMiner/compat/jansson' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/progs/CudaMiner/compat' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/progs/CudaMiner' make: *** [all] Error 2   I'm pretty sure I have gcc, in fact I have multiple versions of it. I installed version 4.6 (which is what cuda requires) but it doesn't seem to find it. I'm so close!  Thanks in advance.
118625
I am trying to install oracle database in Ubuntu 16.04 LTS. I had unzipped the oracle database file in opt folder,but now when I am trying to give execute right to the sqldeveloper file using chmod +x sqldeveloper.sh, it's throwing this error:  chmod: changing permissions of 'sqldeveloper.sh': Operation not permitted
37595
SMESERVER install has been working find for an age then this morning "The error that the other server returned was: 550 v=spf1 a -all", can anyone 'point' me in the right direction to resolving this issue.  There is an obvious element of urgency.  From my own mind 550 is access denied and SPF would indicate a DNS problem, am I right?  Still have no idea on how to resolve it though.  also getting a "bash: 22: command not found", when trying to SSH in.  Any guidance GREATLY appreciated  Stu
57074
And when I tried the following commands /etc/hostnames and /etc/hosts, it says:  bash: permission denied.
76195
Per   # Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases. php -r "readfile('http://files.drush.org/drush.phar');" &gt; drush # Or use our upcoming release: php -r "readfile('http://files.drush.org/drush-unstable.phar');" &gt; drush  # Test your install. php drush core-status  # Make `drush` executable as a command from anywhere. Destination can be anywhere on $PATH. chmod +x drush sudo mv drush /usr/local/bin  # Optional. Enrich the bash startup file with completion and aliases. drush init   So I try it but get the following error:  [Michael@devserver ~]$ php -r "readfile('http://files.drush.org/drush.phar');" &gt; drush [Michael@devserver ~]$ php drush core-status PHP Warning:  pcntl_exec(): Error has occurred: (errno 13) Permission denied in phar:///home/Michael/drush/includes/startup.inc on line 359  Warning: pcntl_exec(): Error has occurred: (errno 13) Permission denied in phar:///home/Michael/drush/includes/startup.inc on line 359 Error has occurred executing the Drush script found at /home/Michael/drush (errno 13) Permission denied [Michael@devserver ~]   So then I try running it as root.  [Michael@devserver ~]$ su - Password: [root@devserver ~]# php /home/Michael/drush core-status  PHP configuration      :  /etc/php.ini  PHP OS                 :  Linux  Drush script           :  /home/Michael/drush  Drush version          :  8.1.2  Drush temp directory   :  /tmp  Drush configuration    :  Drush alias files      :  [root@devserver ~]#   So, all is good, and I just need to install it as root?  Any way I can install it as a normal user?  Thanks
76814
Can someone explain to me the following?  $ ls -ld /temp/sit/build/ dr-xr-s--- 3 asdf qwer 4096 Jan 31  2012 /temp/sit/build/  $ ls -ld /temp/sit/build/* ls: /temp/sit/build/*: Permission denied   So apprently, I can't use the asterisk here. I've tried it with a sudo command and I get a "no such file" error rather than "permission denied"...  sudo ls -l /temp/sit/build/* ls: /temp/sit/build/batch*: No such file or directory   but it finally works if I don't use the *  sudo ls -l /temp/sit/build/ total 4 dr-xr-s--- 11 asdf qwer 4096 Oct  3 23:31 file
99557
/usr/bin/perl install-module.pl --all ERROR: Using install-module.pl requires that you install "make".   I need to install make on my ubuntu on AWS EC2. How can I do that ? I could finally install build-essential also successfully.  # make make: *** No targets specified and no makefile found.  Stop.
74027
Doing "ls" gives me absolutely no response. No "command not found", no "permission denied", absolutely nothing. I'm really confused. Please help.  Info: Running Ubuntu Server 16.04.4 on a Digital Ocean VM, 1 GB, 1 vCPU.
3399
I try to install MacPorts and get this  $ sudo make install make: getcwd: Permission denied shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied ===&gt; making install in doc job-working-directory: error retrieving current directory: getcwd: cannot access parent directories: Permission denied chdir: error retrieving current directory: getcwd: cannot access parent directories: Permission denied make: getcwd: Permission denied /usr/bin/install -c -d -o root -g admin -m 0755 "/opt/local" shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied install: mkdir /opt: Permission denied make[1]: *** [install] Error 71 make: *** [install] Error 1   I am also not able to   $ sudo mkdir /opt mkdir: /opt: Permission denied   I can create the directory with   open /   and then with Finder.  I am also able to install MacPorts with the installer .pgk, but then:  sudo port install htop Error: Insufficient privileges to write to MacPorts install prefix.
66533
I've start a new job today and I am trying to set up my machine to run through their Windows server.  I've managed to get a internet connection through the server now but now I can't run apt-get update as I get a "403 Forbidden" error.  This is for every repo under my source list, apart from translations(?).  I do have a proxy in apt.conf, if I don't have it I get a 407 Permission Denied error.  Here's my apt.conf file (I have omitted my username and password)  Acquire::http::proxy "http://username:password@192.168.0.2:8080/";   Here's my sources.list  #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/main/binary-i386/  #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ dists/precise/restricted/binary-i386/ #deb cdrom:[Ubuntu 12.04.2 LTS _Precise Pangolin_ - Release amd64 (20130213)]/ precise main restricted  # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://gb.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ precise main restricted  ## Major bug fix updates produced after the final release of the ## distribution. deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates main restricted  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://gb.archive.ubuntu.com/ubuntu/ precise universe deb-src http://gb.archive.ubuntu.com/ubuntu/ precise universe deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates universe  ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu  ## team, and may not be under a free licence. Please satisfy yourself as to  ## your rights to use the software. Also, please note that software in  ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://gb.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ precise multiverse deb http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-updates multiverse  ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://gb.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://gb.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse  deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security multiverse  ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu precise partner # deb-src http://archive.canonical.com/ubuntu precise partner  ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu precise main deb-src http://extras.ubuntu.com/ubuntu precise main   I can sort-of fix this by changing all the http in sources.list to ftp but I still have issues with ppas
65239
I tried to use the ls command and got an error:  bash: /bin/ls: cannot execute binary file   What can I use instead of this command?
9561
I was trying to run chmod -R 777 ./ but ended up typing chmod -R 777 / and set 777 on my entire machine. What can go wrong? How can I fix it?
82565
When I try to compile it says  sh: 1: /media/user/Linux/test/bin/Debug/test: Permission denied   I did not have this problem with Ubuntu 12.10   I have just started to use Ubuntu so....
9938
I know this question has been already discussed, but by reading the posts I could not figure the answers, because some said "yes umask can work", and others say "OpenSSH put command always preserve permissions"   Before all just to precise:   I use OpenSSH 5.9 on RHEL 6.2 I have configured a chrooted SFTP server, using internal-sftp subsystem, with -u 0002 for umask I precise I don't use the -p or -P option   From what I have read on one hand: there are many ways to define umask for SFTP transfers:   option -u of internal-sftp (or sftp-server) , since OpenSSH 5.4 create a wrapper to sftp-server (in which we explicitly set the umask - this doesn't fit for chrooted environment btw) add a specific configuration in pam.d/sshd file   On the other hand I have read:     The OpenSSH SFTP client and server do transfer the permissions (as an   extension) and create the remote file with the permissions on the   local side. AFAICT, there is no way to disable this behavior.   So I did the following test:   On my client I created file MYFILE and directory MYDIR with permissions 600 and 700.  Then with sftp commands:  mkdir =&gt; the new directory has permissions following the umask (OK) put MYFILE =&gt; MYFILE has same permissions as on client (KO) put -r MYDIR =&gt; MYDIR has same permissions as on client (KO)   If I change permissions of MYFILE and MYDIR on client side, and upload again, I get the new permissions on server side.  I tried the pam.d solution too, but it changed nothing.  So now I'm confused :  From what I tested and a part of what I read, I would say OpenSSH always preserve permissions. But as there are many posts saying that a umask could be defined, I can imagine I do a wrong thing in my test configurations.  I would appreciate some experienced feedback.  Thank you.