Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using ubuntu 12.04 in VirtualBox, and I created two accounts with usernames lyg and ygl.

I found a directory VBOXADDITIONS_4.1.18_78361/ in /media, questions got into my mind when I type "ls -l /media/" in my terminal. Below are two outputs:

  1. When I boot and login as lyg,

-xr-xr-x 4 lyg lyg 2048 Jun 5 22:33 VBOXADDITIONS_4.1.18_78361

  1. Reboot and login as ygl,

-xr-xr-x 4 ygl ygl 2048 Jun 5 22:33 VBOXADDITIONS_4.1.18_78361

So, why do the user and group change?

share|improve this question
up vote 1 down vote accepted

/media/VBOXADDITIONS_4.1.18_78361 is automatically mounted by your system upon login from a user using udev rules.

What you are seeing is just the system applying those rules. These rules are set by default so that any user can have full permissions to the mounted volumes.

share|improve this answer
thank you very much, I'm new to Linux and this is my first post at askubuntu. your answer is very nice and I'm going to Google "udev" to learn more details. – LYg Jul 30 '12 at 7:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.