{"id":4162,"date":"2015-10-13T10:01:02","date_gmt":"2015-10-13T10:01:02","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=4162"},"modified":"2015-10-13T10:01:56","modified_gmt":"2015-10-13T10:01:56","slug":"smbcifs-mount","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=4162","title":{"rendered":"SMB\/CIFS Mount"},"content":{"rendered":"<table>\n<tr>\n<td><a href=\"http:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/mount_only_root.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/mount_only_root-300x121.png\" alt=\"mount_only_root\" width=\"300\" height=\"121\" class=\"alignleft size-medium wp-image-4163\" srcset=\"https:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/mount_only_root-300x121.png 300w, https:\/\/blog.bachi.net\/wp-content\/uploads\/2015\/10\/mount_only_root.png 453w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/td>\n<\/tr>\n<\/table>\n<p><a href=\"http:\/\/askubuntu.com\/questions\/336387\/only-root-can-mount-dev-sdb1-on-media-sdb1-contribute-to-external-usb-drive\">Only root can mount \/dev\/sdb1 on \/media\/sdb1 &#8211; contribute to external usb drive<\/a><br \/>\n<a href=\"http:\/\/askubuntu.com\/questions\/493523\/problem-with-cifs-util-mount-only-root-can-mount\">Problem with cifs-util. Mount: only root can mount<\/a><br \/>\n<a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=1299667\">mount: only root can mount &#8212; What the hell is this?<\/a><\/p>\n<p>=> use the option &#8220;user&#8221;<\/p>\n<pre class=\"brush: plain; title: \/etc\/fstab; notranslate\" title=\"\/etc\/fstab\">\r\n\/\/172.21.5.98\/homes   \/media\/bsd   cifs   noauto,user,uid=andreas,credentials=\/home\/andreas\/.smbcredentials,iocharset=utf8,sec=ntlm 0 0\r\n<\/pre>\n<pre class=\"brush: plain; title: \/home\/andreas\/.smbcredentials; notranslate\" title=\"\/home\/andreas\/.smbcredentials\">\r\nusername=bachi\r\npassword=PASSWORD\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Only root can mount \/dev\/sdb1 on \/media\/sdb1 &#8211; contribute to external usb drive Problem with cifs-util. Mount: only root can mount mount: only root can mount &#8212; What the hell is this? => use the option &#8220;user&#8221; \/\/172.21.5.98\/homes \/media\/bsd cifs noauto,user,uid=andreas,credentials=\/home\/andreas\/.smbcredentials,iocharset=utf8,sec=ntlm 0 0 username=bachi password=PASSWORD<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4162","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4162"}],"version-history":[{"count":2,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4162\/revisions"}],"predecessor-version":[{"id":4165,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/4162\/revisions\/4165"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}