{"id":92,"date":"2008-10-16T15:02:44","date_gmt":"2008-10-16T08:02:44","guid":{"rendered":"http:\/\/blog.iwayvietnam.com\/tuanta\/2008\/10\/16\/getting-cddvd-rw-working-with-non-root-users-on-fedora-core-9\/"},"modified":"2008-10-16T15:02:44","modified_gmt":"2008-10-16T08:02:44","slug":"getting-cddvd-rw-working-with-non-root-users-on-fedora-core-9","status":"publish","type":"post","link":"https:\/\/blog.iwayvietnam.com\/tuanta\/2008\/10\/getting-cddvd-rw-working-with-non-root-users-on-fedora-core-9\/","title":{"rendered":"Getting CD\/DVD RW+ working with non-root users on Fedora Core 9"},"content":{"rendered":"<p>By default, Fedora Core 9 allow just &#8220;root&#8221; to use CD\/DVD writer. It prevents access to CD\/DVD RW+ device to non-root users.<\/p>\n<p>You can follow these steps to set write permission for a specific non-root user to write to CD\/DVD RW+:<\/p>\n<ol>\n<li>Add the user into the &#8220;disk&#8221; group:<\/li>\n<\/ol>\n<blockquote><p><code>groupmems -a tuanta -g disk<\/code><\/p><\/blockquote>\n<ol>\n<li>Set  group write permission to \/dev\/sg* (owned by &#8220;disk&#8221;) at startup:<\/li>\n<\/ol>\n<blockquote><p>Modify the file: <code>\/etc\/udev\/rules.d\/50-udev-default.rules<\/code>,<\/p>\n<p>At line:<\/p>\n<p><code>KERNEL==\"sg[0-9]*\",\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ATTRS{type}!=\"3|6\", GROUP=\"disk\", MODE=\"0640\"<\/code><\/p>\n<p>Modify to:<\/p>\n<p><code>KERNEL==\"sg[0-9]*\",\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ATTRS{type}!=\"3|6\", GROUP=\"disk\", MODE=\"0660\"<\/code><\/p><\/blockquote>\n<blockquote><p>Note: just modifying the MODE from 640 (group read only) to 660 (group read+write)<\/p><\/blockquote>\n<p>And finally, reboot the system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default, Fedora Core 9 allow just &#8220;root&#8221; to use CD\/DVD writer. It prevents access to CD\/DVD RW+ device to non-root users. You can follow these steps to set write permission for a specific non-root user to write to CD\/DVD RW+: Add the user into the &#8220;disk&#8221; group: groupmems -a tuanta -g disk Set group<a class=\"more-link\" href=\"https:\/\/blog.iwayvietnam.com\/tuanta\/2008\/10\/getting-cddvd-rw-working-with-non-root-users-on-fedora-core-9\/\">Continue reading <span class=\"screen-reader-text\">&#8220;Getting CD\/DVD RW+ working with non-root users on Fedora Core 9&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,34],"tags":[],"class_list":["post-92","post","type-post","status-publish","format-standard","hentry","category-linux","category-weekly-tips","entry"],"_links":{"self":[{"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/posts\/92"}],"collection":[{"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/comments?post=92"}],"version-history":[{"count":0,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/posts\/92\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.iwayvietnam.com\/tuanta\/wp-json\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}