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


#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


  #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


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

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

Create new topic




News »

Pre-orders for Huawei MateBook 13 open now
Posted 14-Aug-2020 14:26


Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35


UFB hits more than one million connections
Posted 6-Aug-2020 09:42


D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01


New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35


Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21


Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11


Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05


Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26


Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07


Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45


Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48


Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50


Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00


Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.