Linux – Mount a windows share without having root credentials

linuxmountnot-root-usersamba

I am trying to mount a Windows shared folder in my home folder. I am able to execute the following command from a Linux (i.e., CentOS) machine which I have sudo access. The command that I am using is:

sudo mount -t cifs //172.17.53.171/Projects ~/RemoteProjects -o username=domain/mhicks

The real trick is trying to mount the same folder on a machine which I don't have sudo/root access. In order to use the mount command it is stating that I need root access. How can I mount/map a Window's shared folder in Linux without sudo/root access?

Perhaps mount is the wrong way of going about it?

Best Answer

Take a look at this Mounting Windows shares in Linux userspace. You'll still initially require root access to get it setup.

Related Question