{"id":193,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=193"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"who-the-hell-is-baron-and-why-does-he-own-my-files","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=193","title":{"rendered":"Who\n the hell is baron and why does he own my files?"},"content":{"rendered":"<p>Every time you run an <code>ls -l<\/code> command from within Terminal, your files look like this:<br \/>\n<code><br \/>\n-rw-r--r--   1 baron   users       85 Aug 10 01:42 Audio CD:5<br \/>\n<\/code><br \/>\nYou know from <a href=\"\/chunga.php?ID=030\">this tip<\/a> that &#8222;baron&#8220; represents the owner of the file and that &#8222;users&#8220; is the group to which baron belongs. But until BeOS goes multi-user, the notion of file ownership is sort of an oxymoron. Still, to maintain POSIX compliance, BeOS needs to show <i>someone<\/i> as the owner. For now, that person is Baron, and you can see his record company and his bunny <a HREF=\"http:\/\/www.catastropherecords.com\">here<\/a>.<br \/>\nIf you&#8217;re sick of looking at Baron&#8217;s name and want to replace it with your own, look in \/boot\/home\/config\/boot for a file called UserSetupEnvironmentSample and rename it as UserSetupEnvironment. Open it in an editor and add these two lines:<br \/>\n<code><br \/>\nexport USER=yourname<br \/>\nexport GROUP=yourgroupname<br \/>\n<\/code><br \/>\nSave and close. Now either reboot, or type<br \/>\n <code>source ~\/config\/boot\/UserSetupEnvironment<\/code><br \/>\nGet another long format directory listing and you&#8217;ll see that you now own your own damn files.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Every time you run an ls -l command from within Terminal, your files look like this: -rw-r&#8211;r&#8211; 1 baron users 85 Aug 10 01:42 Audio CD:5 You know from this tip that &#8222;baron&#8220; represents the owner of the file and that &#8222;users&#8220; is the group to which baron belongs. But until BeOS goes multi-user, the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[11],"class_list":["post-193","post","type-post","status-publish","format-standard","hentry","tag-terminal"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/193","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=193"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/193\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=193"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=193"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=193"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}