Closed. This question is off-topic. It is not currently accepting answers. Learn more
想改进这个问题吗?Update the question所以堆栈溢出的值小于aa>。
三年前关闭。
所以,我在安装一组软件时遇到了这个问题,在某些情况下,错误是:
 make[7]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/home/repositories/lalsuite/include/lal'
/bin/mkdir: cannot create directory ‘/home/repositories’: Permission denied
Makefile:592: recipe for target 'install-pkgincludeHEADERS' failed
make[7]: *** [install-pkgincludeHEADERS] Error 1
make[7]: Leaving directory '/home/utina/repositories/lalsuite/lal/src/std'
Makefile:708: recipe for target 'install-am' failed
make[6]: *** [install-am] Error 2

我要说的是,ls-l从特定文件夹的输出是:
    /repositories/lalsuite$ ls -l
total 368
-rwxrwxr-x  1 utina utina   1223 Jun 24 15:02 00boot
-rw-rw-r--  1 utina utina  29029 Jun 24 15:14 aclocal.m4
drwxr-xr-x  2 utina utina   4096 Jun 24 15:14 autom4te.cache
-rw-rw-r--  1 utina utina  10598 Jun 24 16:48 config.log
-rwxrwxr-x  1 utina utina  26176 Jun 24 16:47 config.status
-rwxrwxr-x  1 utina utina 143165 Jun 24 15:14 configure
-rw-rw-r--  1 utina utina   5439 Jun 24 15:02 configure.ac
drwxrwxr-x 12 utina utina   4096 Jun 24 15:16 glue
drwxrwxr-x  2 utina utina   4096 Jun 24 15:02 gnuscripts
drwxrwxr-x 12 utina utina   4096 Jun 24 16:47 lal
drwxrwxr-x  9 utina utina   4096 Jun 24 16:57 lalapps
drwxrwxr-x 12 utina utina   4096 Jun 24 16:51 lalburst
drwxrwxr-x 12 utina utina   4096 Jun 24 16:51 laldetchar
drwxrwxr-x 12 utina utina   4096 Jun 24 16:47 lalframe
drwxrwxr-x 12 utina utina   4096 Jun 24 16:56 lalinference
drwxrwxr-x 12 utina utina   4096 Jun 24 16:51 lalinspiral
drwxrwxr-x 12 utina utina   4096 Jun 24 16:47 lalmetaio
drwxrwxr-x 12 utina utina   4096 Jun 24 16:54 lalpulsar
drwxrwxr-x 12 utina utina   4096 Jun 24 16:50 lalsimulation
drwxrwxr-x 12 utina utina   4096 Jun 24 16:54 lalstochastic
-rw-rw-r--  1 utina utina   2104 Jun 24 16:48 lalsuiterc
drwxrwxr-x 12 utina utina   4096 Jun 24 16:49 lalxml
drwxrwxr-x  5 utina utina   4096 Jun 24 15:03 lars
drwxrwxr-x  4 utina utina   4096 Jun 24 15:03 ligo
-rw-rw-r--  1 utina utina  30014 Jun 24 16:47 Makefile
-rw-rw-r--  1 utina utina   3099 Jun 24 15:02 Makefile.am
-rw-rw-r--  1 utina utina  29510 Jun 24 15:14 Makefile.in
drwxrwxr-x 13 utina utina   4096 Jun 24 15:16 pylal

也:
utina@utinax55:~/repositories$ ls -l
total 2576
drwxrwxr-x 21 utina utina    4096 Jun 24 16:48 lalsuite
drwxrwxr-x  9 utina utina    4096 Jun 24 15:14 metaio
drwxrwxr-x 15 utina utina    4096 Jun 24 15:13 v8r26
-rw-rw-r--  1 utina utina 2624760 May 17  2015 v8r26.tar.gz

因此,似乎应用了特定文件夹的执行权限;有什么想法吗?

最佳答案

你还没有解释为什么它要写/home/repositories而不是/home/utina/repositories。我猜你把~repositories放在什么地方了,你的意思是~/repositories

关于linux - 由于拒绝mkdir而无法安装软件,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/38023037/

10-13 06:05