{"id":60,"date":"2006-01-19T19:35:00","date_gmt":"2006-01-20T00:35:00","guid":{"rendered":"http:\/\/www.familytidings.com\/blog\/?p=60"},"modified":"2006-01-19T19:35:00","modified_gmt":"2006-01-20T00:35:00","slug":"time-to-change-the-permissions","status":"publish","type":"post","link":"https:\/\/www.familytidings.com\/blog\/?p=60","title":{"rendered":"Time to Change the Permissions"},"content":{"rendered":"<p>I&#8217;ve got a SCSI scanner attached to <code>\/dev\/sg0<\/code>.  Under previous versions of RedHat, I set the group to disk, added read and write permissions for the group and added myself to the group.  Since upgrading to a 2.6 kernel which has the UDEV filesystem, every time I reboot, I have to do this over again.  Until I found out <a href=\"http:\/\/ubuntuforums.org\/showthread.php?t=11718\">how to make it stick<\/a>.  These directions are for Ubuntu, but they were close enough.  Here&#8217;s what I had to do differently for Fedora Core 4:<\/p>\n<p>Fedora doesn&#8217;t have <code>\/etc\/udev\/udev.rules<\/code>, rather a directory called <code>\/etc\/udev\/rules.d<\/code>.  This is specified in the top-level configuration file <code>\/etc\/udev\/udev.conf<\/code>.  On my box, <code>rules.d<\/code> has one file called <code>50-udev.rules<\/code>.  I edited this file.  On the line you add, I changed the group to disk instead of scanner.  Once done, as root, do <code>rmmod sg<\/code>, then <code>modprobe sg<\/code> to reload the driver and check your work.  One bit of goofiness I saw was that adding the <code>SYMLINK<\/code> parameter caused my permissions to be ignored.  So I left it off.  I can live with just <code>\/dev\/sg0<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve got a SCSI scanner attached to \/dev\/sg0. Under previous versions of RedHat, I set the group to disk, added read and write permissions for the group and added myself to the group. Since upgrading to a 2.6 kernel which has the UDEV filesystem, every time I reboot, I have to do this over again. [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-60","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/60","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60"}],"version-history":[{"count":0,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/60\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.familytidings.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}