I'm trying to build the . When I run the command   make -s -j8 DEFAULT_TARGET=shared_release    it gives me the error of permission denied.
47256
I have this problem: I'm used to compile and run .c files with CodeBlocks. If I do that from my Desktop (ext4 partition) it works without problems, but doing this from my secondary hard drive (NTFS partition) makes CodeBlocks to say permission denied while running a .c file.  I have read it's because of the partition type is it correct? But I don't know how to solve it. I tried to edit fstab (sudo gedit /etc/fstab) adding this line:   /dev/sda /media/Dati ntfs user,exec 0 1   but after rebooting Ubuntu I had a warning on boot about a problem mounting a drive, that's because I set KDE to auto mount my Dati drive on boot.   So I should auto mount my NTFS drive with execute permission? How can I do that?
108045
I would like to deploy something but I need to be able to have teammates interact with the environment.  How do I do this? Are ssh keys involved?
34389
I am using Microsoft Visual C++ on Windows and Qt Creator on Ubuntu. I can't change permissions on my flash drive (FAT32), even as root.  How can I change permissions on a FAT32 flash-drive?
57074
And when I tried the following commands /etc/hostnames and /etc/hosts, it says:  bash: permission denied.
59215
I accidentally deleted the symbol link /lib64/libc.so.6 -> /lib64/libc-2.12.so with  $ sudo rm libc.so.6   Then I can not use anything including ls command. The error appears for any command I type  ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory   I've tried  $ export LD_PRELOAD=/lib64/libc-2.12.so   After this I can use ls and ln ..., but still can not use sudo ln ..., sudo -E ln ..., sudo su or even su. I always get this err  sudo: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory   or  su: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory   It seems LD_PRELOAD works only for the current shell session of my account, but not for a new account like root or a new session.  It's a remote server so I can not use a live CD. I now have a ssh bash session alive but can not establish new ones. I have sudo privilege, but don't have root password.  So currently my problem is I need to run sudo sln -s libc-2.12.so libc.so.6 to re-create the symlink libc.so.6, but I  can not run sudo without libc.so.6.  How can I fix it? Thanks~
78942
I am trying to set up a postfix server for smtp relay. Centos 5.5  I have followed  but am getting a FAILED error when trying to restart or reload postfix.  When I do:  cat maillog   I get:  fatal: open /etc/postfix/main.cf: Permission denied   Here is what I have tried:  chown postfix /etc/postfix/main.cf chmod u+rwx /etc/postfix/main.cf   After that, I do:  ls -l /etc/postfix/main.cf   Which gives me:  -rwx------. 1 postfix anotheruser 27531 Apf 29 12:19 /etc/postfix/main.cf   No dice. Same error. I even tried temporarily doing chmod 777 but got same error.  Any ideas on the permissions problem? I am assuming it is running the service as the postfix user.  Thanks
115053
I copied all of the files like in  tutorial, but I have no luck launching PS. I also tried running the installer with WINE, but needed AIR and it wouldn't connect to the adobe servers.  Also, I (think I) removed all of the libraries I installed with winetricks (except for the VC++ ones) and deleted the files I copied from my Windows machine. This is all perfectly safe, right?
118148
i've already downloaded aircrack-ng from the SVN repo and i'm trying to build it from source and this is what i get:   make -C src all make[1]: Entering directory `/home/chris/aircrack-ng/src' gcc -g -W -Wall -O3 -D_FILE_OFFSET_BITS=64 -D_REVISION=2363  -DCONFIG_LIBNL30 -I/usr/include/libnl3   -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude  wpaclean.o osdep/radiotap/radiotap-parser.o -o wpaclean -Losdep -losdep -lnl-genl-3 -lnl-3   /usr/bin/ld: cannot find -lnl-genl-3 collect2: error: ld returned 1 exit status make[1]: *** [wpaclean] Error 1 make[1]: Leaving directory `/home/chris/aircrack-ng/src' make: *** [all] Error 2   i'm compiled it before but i did an upgraded clean install of linux mint 16 but now for some reason i'm missing something. any help would be great! thanks in advance!
109809
In the properties menu of this folder the permission is set to "root" user and group, it shows the message "you are not the owner, so you cannot change these permissions." I am indeed the owner and only user of the machine, how can I change the permissions?
108432
I'm trying to launch java:  $ java -version java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory  $ ldd /usr/lib/jvm/java-6-openjdk/jre/bin/java         linux-gate.so.1 =&gt;  (0xb779f000)         libz.so.1 =&gt; /usr/lib/libz.so.1 (0xb7780000)         libpthread.so.0 =&gt; /lib/i686/cmov/libpthread.so.0 (0xb7767000)         libjli.so =&gt; /usr/lib/jvm/java-6-openjdk/jre/bin/../lib/i386/jli/libjli.so (0xb7762000)         libdl.so.2 =&gt; /lib/i686/cmov/libdl.so.2 (0xb775e000)         libc.so.6 =&gt; /lib/i686/cmov/libc.so.6 (0xb7603000)         /lib/ld-linux.so.2 (0xb77a0000 $ ls /usr/lib/jvm/java-6-openjdk/jre/bin/../lib/i386/jli/ libjli.so   But java works under root:  $ sudo java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-2~lenny1) OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)   UPD:  /usr/lib/jvm/java-6-openjdk/jre/bin/java is actually my java command:  $ type java java is hashed (/usr/bin/java) $ ls -l /usr/bin/java lrwxrwxrwx 1 root root 22 Jul 14 10:15 /usr/bin/java -&gt; /etc/alternatives/java $ ls -l /etc/alternatives/java lrwxrwxrwx 1 root root 40 Jul 14 10:36 /etc/alternatives/java -&gt; /usr/lib/jvm/java-6-openjdk/jre/bin/java   UPD2:  I've also tried to set root PATH:  $ sudo su # echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # exit $ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin $ java -version java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory   UPD3:  I'm tried:  # comm -3 &lt;(declare | sort) &lt;(declare -f | sort)   under root. But there is no usable environment variables for java.  UPD4:  strace -f java -version result:
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.
70175
When I try to compile and install HTK, it produces the following error:  HTK is now ready to be built.  Type "make all" to build the HTK libraries and tools.  Then "make install" to install them.  The tools will be installed in /usr/local/bin  Build notes: Language Modelling tools will be built. HDecode will not be built. You can build it manually later by running 'make hdecode install-hdecode'  ************************************************** user@EESBLRP105:~/htk$  make all  (cd HTKLib &amp;&amp; make HTKLib.a) \       || case "" in *k*) fail=yes;; *) exit 1;; esac; make[1]: Entering directory `/home/user/htk/HTKLib' gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HGraf.o HGraf.c In file included from /usr/include/stdio.h:27:0,                  from HShell.h:40,                  from HGraf.c:54: /usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory  #  include &lt;sys/cdefs.h&gt;                          ^ compilation terminated. make[1]: *** [HGraf.o] Error 1 make[1]: Leaving directory `/home/user/htk/HTKLib' make: *** [HTKLib/HTKLib.a] Error 1
84714
I am trying to build a custom FreeBSD disk image from source which I could then load with bhyve.  Here's the script I use:  export MAKEOBJDIRPREFIX="$HOME/obj" export CHROOTDIR="$HOME/var" ncpu="$(sysctl -n hw.ncpu)"  set -e     cd  mkdir -p obj mkdir -p var  svn co http://svn.freebsd.org/base/head ./src cd src make -j$ncpu -DNO_CLEAN buildworld buildkernel  cd release make release -DNODOC -DNOSRC -DNOPORTS make install DESTDIR=../../var   My problem is that make release fails.   What is wrong?    Here are some parts of the make release error message:     ...  .:      user (0, 1001, not modified: Operation not permitted) bin:    user (0, 1001, not modified: Operation not permitted) boot:   user (0, 1001, not modified: Operation not permitted) boot/defaults:         user (0, 1001, not modified: Operation not permitted) boot/dtb:         user (0, 1001, not modified: Operation not permitted) boot/firmware:         user (0, 1001, not modified: Operation not permitted) boot/kernel:         user (0, 1001, not modified: Operation not permitted) boot/modules:         user (0, 1001, not modified: Operation not permitted) boot/zfs:         user (0, 1001, not modified: Operation not permitted) dev:    user (0, 1001, not modified: Operation not permitted) etc:    user (0, 1001, not modified: Operation not permitted)       ...  -------------------------------------------------------------- &gt;&gt;&gt; Distributing everything -------------------------------------------------------------- cd /usr/home/m/src; make -f Makefile.inc1 distribute ===&gt; lib (distribute) ===&gt; lib/csu (distribute) ===&gt; lib/csu/amd64 (distribute) cd /usr/home/m/src/lib/csu/amd64;  make install installconfig -DNO_SUBDIR DESTDIR=/usr/home/m/obj/usr/home/m/src/release/dist/base SHARED=copies install  -o root -g wheel  -m 444 crt1.o crti.o crtn.o Scrt1.o gcrt1.o /usr/home/m/obj/usr/home/m/src/release/dist/base/usr/lib/ install: /usr/home/m/obj/usr/home/m/src/release/dist/base/usr/lib/crt1.o: chown/chgrp: Operation not permitted *** Error code 71       ...
8580
I tried to fix my hard drive using Ubuntu but I encountered an error message and didn't know how to proceed. I need to fix my bad sectors   fsck /dev/sdb   fsck from util-linux 2.20.1   e2fsck 1.42.5 (29-Jul-2012)   fsck.ext2: Permission denied while trying to open /dev/sdb   You must have r/w access to the filesystem or be root
11454
I tried following a few tutorials, but I get this:   How can I fix this? I added in a info.plist (I just copied and pasted another app's file, and changed around a few things.)  Also, I used chmod +x myApp to make the script executable.  P.S. I am using El Capitan
77744
This error occurs whenever I try to work with sudo. I changed the permissions of /var/ folder to 777 and I think this causes the error. Please help me get back a functional sudo and /var.
106969
In Ubuntu 18.04, I can create a file as one user in /tmp, and write to it as user root (despite the sticky bit being set on /tmp). In Ubuntu 20.04, I get a Permission Denied error as user root. Ubuntu 18.04: # As user &quot;ubuntu&quot;: touch /tmp/tmplock  # As user &quot;root&quot;: echo &quot;foo&quot; &gt; /tmp/tmplock  cat /tmp/tmplock # Outputs &quot;foo&quot;  ls -lah /tmp drwxrwxrwt 32 root   root    20K Jun 16 18:36 . -rw-rw-r--  1 ubuntu ubuntu    4 Jun 16 18:36 tmplock  Ubuntu 20.04: # As user &quot;ubuntu&quot;: touch /tmp/tmplock  # As user &quot;root&quot;: echo &quot;foo&quot; &gt; /tmp/tmplock # Outputs: bash: /tmp/tmplock: Permission denied  ls -lah /tmp drwxrwxrwt 12 root   root   4.0K Jun 16 18:15 . -rw-rw-r--  1 ubuntu ubuntu    0 Jun 16 18:14 tmplock  I can't find any information on if this is related to the sticky bit, or an underlying Linux kernel change, or anything. Does anyone know what can explain the change in behavior?