/etc/synthetic.conf 在 Venture 13.2 中不起作用。

huangapple go评论49阅读模式
英文:

/etc/synthetic.conf not working in Venture 13.2

问题

我曾经在/etc/synthetic.conf文件中创建了一个/store目录,像这样:

store Users/wnm3/store

后者是我在我的主目录中拥有的一个目录。重启似乎不再像以前那样创建/store到/Users/wnm3/store的符号链接。这是已知的错误还是椅子和键盘之间的问题?

我已经通过在我的.zshrc中为store目录使用导出来解决了这个问题,这样至少我可以使用cd store/...(但不能使用cd /store/...)。

英文:

I used to create a /store directory with a record in /etc/synthetic.conf like:

store Users/wnm3/store

where the latter is a directory I own in my home directory. Rebooting doesn't seem to create the symlink for /store to /Users/wnm3/store as it used to. Is this a known bug or an issue between the chair and keyboard?

I've worked around using an export for store to the directory in my .zshrc so at least I can use cd store/... (but not cd /store/...)

答案1

得分: 0

我的错误,我忘记了需要一个制表符字符来分隔符号链接的名称(例如,store)和它指向的实际目录(例如,Users/wnm3/store)。一旦我从空格改为制表符并重新启动,一切都按预期工作。

英文:

My mistake, I'd forgotten there needed to be a tab character to separate the symlink name (e.g., store) and the actual directory it points to (e.g., Users/wnm3/store). Once I changed from space to tab and rebooted all worked as expected.

huangapple
  • 本文由 发表于 2023年2月14日 05:35:16
  • 转载请务必保留本文链接:https://go.coder-hub.com/75441402.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定