没有这样的文件或目录,但目录是在那里 [英] No such file or directory but directory is right there

查看:184
本文介绍了没有这样的文件或目录,但目录是在那里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ubuntu 12.04上用openssl做了一些加密测试,我用以下规格构建了一个目录:
$ 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

它告诉我:


我无法访问./demoCA/newcerts目录


$ b ./ demoCA / newcerts:没有这样的文件或目录

我之前运行了一些命令来设置它,我很乐意概述它们,如果这样做会有所帮助,但我不知道为什么它不会找到一个目录。有什么建议?



这是我正在运行的实验室 this

解决方案

这样的文件或目录不存在,因为您正在尝试访问



不是


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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆