{"id":1766,"date":"2017-12-29T20:53:14","date_gmt":"2017-12-29T20:53:14","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1766"},"modified":"2017-12-29T20:56:05","modified_gmt":"2017-12-29T20:56:05","slug":"auto-mount-cifs-mount-point-on-system-startup-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/auto-mount-cifs-mount-point-on-system-startup-on-ubuntu\/","title":{"rendered":"Auto mount CIFS mount point on system startup on Ubuntu"},"content":{"rendered":"<p>Install CIFS utils<\/p>\n<pre>sudo apt-get install -y cifs-utils<\/pre>\n<p>You can manually test it with the following command.\u00a0 Change the ip address, mount points, username, and password.<\/p>\n<pre>mount.cifs \/192.168.1.102\/mount\/point \/mnt -o user=john,pass=password3,uid=john<\/pre>\n<p><em>Note that specifying the uid in the options, allows the user to add, delete, and modify the files and folders of that specific mount point.<\/em><\/p>\n<p>To auto mount on system startup, add the following line to \/etc\/fstab.\u00a0 Change the appropriate lines.<\/p>\n<pre>\/\/192.168.1.102\/mount\/point \u00a0 \/mnt\u00a0 auto \u00a0 user=john,pass=password3,uid=john \u00a0 0 \u00a0 0<\/pre>\n<p>You can test it by mounting everything in fstab<\/p>\n<pre>sudo mount -a<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Install CIFS utils sudo apt-get install -y cifs-utils You can manually test it with the following command.\u00a0 Change the ip address, mount points, username, and password. mount.cifs \/192.168.1.102\/mount\/point \/mnt -o user=john,pass=password3,uid=john Note that specifying the uid in the options, allows &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/auto-mount-cifs-mount-point-on-system-startup-on-ubuntu\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,264,3,28],"tags":[379,7,380,49],"class_list":["post-1766","post","type-post","status-publish","format-standard","hentry","category-command-line","category-debian","category-linux","category-ubuntu","tag-cifs","tag-linux-2","tag-mount","tag-ubuntu-2"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1766","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1766"}],"version-history":[{"count":8,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1766\/revisions"}],"predecessor-version":[{"id":1774,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1766\/revisions\/1774"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1766"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}