The Haiku/BeOS Tip Server
Tips and tricks for Haiku/BeOS users

Who the hell is baron and why does he own my files?

Contributed by: Scot Hacker
This tip is valid for: Both BeOS and Haiku

Every time you run an ls -l command from within Terminal, your files look like this:

-rw-r--r-- 1 baron users 85 Aug 10 01:42 Audio CD:5

You know from this tip that “baron” represents the owner of the file and that “users” 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 someone as the owner. For now, that person is Baron, and you can see his record company and his bunny here.

If you’re sick of looking at Baron’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:

export USER=yourname
export GROUP=yourgroupname

Save and close. Now either reboot, or type

source ~/config/boot/UserSetupEnvironment

Get another long format directory listing and you’ll see that you now own your own damn files.

Posted in Terminal

(comments are closed).