Mounting FTP as filesystem in debian using curlftpfs

Posted by Karel Bílek on Super User See other posts from Super User or by Karel Bílek
Published on 2012-04-08T22:58:56Z Indexed on 2012/04/08 23:34 UTC
Read the original article Hit count: 345

Filed under:
|
|
|

I am trying to mount a FTP as filesystem in debian using curlftpfs. What I get after running

curlftpfs -o allow_other username:[email protected] /mnt/myftp/

is just:

fuse: failed to open /dev/fuse: Permission denied

even when run as root. What am I doing wrong? (curlftpfs is in version curlftpfs 0.9.2 libcurl/7.21.0 fuse/2.8)

edit:

When I write ls -lah /dev/fuse, I see

crw-rw---- 1 root fuse 10, 229 Apr 9 00:34 /dev/fuse

...but even when I add both myself and user root to group fuse, neither me (as a user) or user root can mount ftp, I still see

fuse: failed to open /dev/fuse: Permission denied

edit2: Even if I write this fairly insecure and crazy line:

sudo chmod a+rwx /dev/fuse

I still get the permission denied message. Which permissions could be denied?

edit3:

I forgot to mention I am on VPS with OpenVZ. I thought that there is no issue with this, but apparently, there is! I am adding the resolution as the answer.

© Super User or respective owner

Related posts about debian

Related posts about filesystems