英文:
/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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论