Announcement

Collapse
No announcement yet.

Problem with mounting NFS at start up

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Problem with mounting NFS at start up

    I have a WD mycloud NFS.
    I can manually mount the drive with:-
    Code:
    sudo mount -t cifs -o ,dir_mode=0755,file_mode=0644,rw,soft //192.168.xxx.xxx/Public  /media/mycloud
    I have added the following line to /etc/fstab
    Code:
    //192.168.xxx.xxx/Public /media/mycloud cifs uid=bill,credentials=/home/bill/.smbcredentials,iocharset=utf8 0 0
    Dolphin shows 'Public on 192.168.xxx.xxx' but I get this error when trying to access it:-
    Code:
    An error occurred while accessing 'Home', the system responded: mount: /media/mycloud: operation permitted for root only

    #2
    Try adding the option user to the fstab entry:

    //192.168.xxx.xxx/Public /media/mycloud cifs uid=bill,credentials=/home/bill/.smbcredentials,iocharset=utf8,user 0 0
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Terrific. Just four little letters! Thank you, it works just fine.

      Comment

      Working...
      X