D
D
Drjabaka2015-08-28 11:36:47
ubuntu
Drjabaka, 2015-08-28 11:36:47

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

Changed:
#!/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 question

Ask a Question

731 491 924 answers to any question