没有这样的文件或目录,但目录是在那里 [英] No such file or directory but directory is right there
问题描述
我在ubuntu 12.04上用openssl做了一些加密测试,我用以下规格构建了一个目录: 每次我运行一个命令,具体是这样: 它告诉我: 我无法访问./demoCA/newcerts目录 我之前运行了一些命令来设置它,我很乐意概述它们,如果这样做会有所帮助,但我不知道为什么它不会找到一个目录。有什么建议? 这是我正在运行的实验室 this 。 这样的文件或目录不存在,因为您正在尝试访问
$ b $ pre $ $ $ $ $ $ $ home /
demoCA /
certs
index.txt
serial
openssl.cnf
newcerts /
crl /
pre > openssl ca -in server.csr -out server.crt -cert ca.crt -keyfile ca.key -config openssl.cnf
$ p $
$ b ./ demoCA / newcerts:没有这样的文件或目录
不是
democa
当文件目录具有不同的值时,Linux将文件目录视为唯一的,特别是当它们是小写或大写时。
I am doing some crypto testing with openssl on ubuntu 12.04 and I have a directory build with the following specs:
$home/
demoCA/
certs
index.txt
serial
openssl.cnf
newcerts/
crl/
And everytime I run a command, specifically this:
openssl ca -in server.csr -out server.crt -cert ca.crt -keyfile ca.key -config openssl.cnf
it tells me:
I am unable to access the ./demoCA/newcerts directory
./demoCA/newcerts: No such file or directory
There are a few commands I run before this to set it up and I'd be glad to outline them if that would be helpful but I have no idea why it won't find that one directory. Any suggestions?
This is the lab I am running along with this.
The reason why no such file or directory does not exist is because you are trying to access
demoCA
not
democa
Linux treats file directories as unique when they have different values -especially when they are lowercase or uppercase.
这篇关于没有这样的文件或目录,但目录是在那里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!