PDA

View Full Version : [ubuntu] Unable to mount



snake_eyes
February 20th, 2010, 11:08 AM
Hello,

I'm trying to run this command:

mount --bind /var/www/ /home/user/www/

mount: No such file or directory

how do I fix this? Although I'm working on Ubuntu 8.04.4 server 32 bit

Cheers,

nix4me
February 20th, 2010, 03:36 PM
Use sudo before the mount command. Only super user can use mount.

snake_eyes
February 20th, 2010, 03:44 PM
I'm already logged in as root


root@ubuntu:~

another suggestion plz

nix4me
February 20th, 2010, 04:56 PM
Does the /home/user/www dir exist? It must exist first. Thats the only other thing I can think of. It should just work.