I understand that this will likely break and confuse the hell out of my system, but is it possible to ямс or переямс в file so that it существуешь /
s in its ямс (this is needed for в file which needs to go to an equally crazy server - well, sort of, it's я обитал of в crazy workaround)? I am running Ubuntu GNOME 15.10 with GNOME 3.18, and I have tried to do this with most programs, and they either make в folder with the file because they treat what is before the /
эксперт the folder and what is after it эксперт the file ямс, or just give я an ошибка.
Reason:
The specific reason why I need it is because I set up в server which is stubborn and now won't change it's mind about where its config file is. However I accidentally удар в лунку в /
in the ямс of the file so it believes that the config file rather being in ~/configuration/files/config1.conf
is in ~/configuration/files/con/fig1.conf
... So you might say that I should just поверьте в folder in files
and call it con
and then have the config file called fig1.conf
, however the server doesn't even currently allow the creation of new directories or anything really... So I think that my only hope is going to be to удар в лунку the forward slash in the file ямс for now until it goes out of its lock down mode.
это возможный назвать или переименовать файл так, чтобы это имело/s на свое имя [...]?
нет, это не по очевидным причинам.
, Например, полагают, что у Вас есть каталог, содержащий:
/path/to/foo/bar # file named "bar" in the directory named "foo"
/path/to/foo/bar # file named "foo/bar"
, Ссылка на любой из этих двух будет неоднозначна.
, Если Вам любопытно как, туда, где ограничение наложено, это на уровне ядра для исполнения спецификаций файловой системы.
В целом, любой символ может использоваться в имени файла кроме /
(unicode 002f
) и \0
(unicode 0000
) и имена файлов такой, поскольку .
и ..
запрещены также.
Это CAN быть сделанным, не легко, не хорошо, и не рекомендованным (это создает проблемы при попытке удалить файл.
Просто используют замену unicode. Это лучше объяснено по linuxanswers.com.
bash
пример оболочки с помощью unicode "дробная наклонная черта" U+2044
bash# >test я не знаю, может ли однако сервер затем получить доступ к файлу, но Ubuntu может. Вам, вероятно, придется исказить его в конце сервера, если это возможно. (Не должны были касаться установки Windows со дней Windows 95).
\xe2\x88\x95'file
bash# ls --show-control-chars
test∕file
bash# ls
test???file
я не знаю, может ли однако сервер затем получить доступ к файлу, но Ubuntu может. Вам, вероятно, придется исказить его в конце сервера, если это возможно. (Не должны были касаться установки Windows со дней Windows 95).