Answer the question
In order to leave comments, you need to log in
Mounting Yandex.Disk to any folder?
Hello, I mounted YaDisk Habr according to the script from this article, but I decided to change it and mount it not for root, but for a regular user in the /home/user/yandex.disk folder. What did you do wrong because the folder is empty?
Original:
#!/usr/bin/expect
spawn mount.davfs https://webdav.yandex.ru /clouds/yandex.disk/
expect "Username:"
send "[email protected]\r"
expect "Password:"
send "PASS\r"
expect eof
#!/usr/bin/expect
spawn mount.davfs https://webdav.yandex.ru /home/drjabaka/yandex.disk/
expect "Username:"
send "[email protected]\r"
expect "Password:"
send "Мой Pass\r"
expect eof
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question