Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


132 posts

Master Geek
+1 received by user: 2


Topic # 89490 3-Sep-2011 07:46
Send private message

I know a thing or two about running in a Linux environment but I am not pro when it comes to it.

I have a server running windows server 2008 and I can no longer seem to mount its network shares.

using the following commands in my fstab file

//192.168.0.30/media /mnt/media cifs username=Chris,password=password,_netdev 0 0


This did work at one time and now it just shoots me back the following error

An error occurred while accessing 'software on //192.168.0.30', the system responded: mount: only root can mount //192.168.0.30/media on /mnt/media


How do I go about giving it permission to allow it to mount?!

Create new topic
26 posts

Geek


  Reply # 516535 4-Sep-2011 18:29
Send private message

You can add the 'user' option to fstab to allow users to mount it. So:

//192.168.0.30/media /mnt/media cifs username=Chris,password=password,_netdev,user 0 0

Or you could run the mount command as root:

sudo mount /mnt/media

I'm not sure why it's not auto-mounting for you but this should fix the permissions error. 



132 posts

Master Geek
+1 received by user: 2


  Reply # 518564 8-Sep-2011 14:09
Send private message

Cheers for the reply, will give it a go tonight.

Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.