Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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
UUID=<someuuid> /mnt/data ext4 defaults,relatime,data=ordered   0 2


/mnt$ ll
drwxr-xr-x 2 manuel users 4096 15. Apr 18:25 data
/mnt$ mount -a
/mnt$ ll
drwxr-xr-x 4 root root 4096 14. Apr 22:54 data

I dont get it. What is the problem with this? I want to have write permissions in /mnt/data. In subfolders I can write. It is just in this rootfolder. Why does the owner of the folder change?

share|improve this question
up vote 3 down vote accepted

It seems that (whyever) in the first situation the volume is not mounted. You see the mount point i.e. the folder in the underlying file system. IMHO normal mount point folders should always belong to root:root and have 000 access rights as it does not make any sense to use them in a typical situation.

Mounting the volume replaces the mount point folder by the root directory of the mounted file system. Obviously this can have different access rights and owner. You need to change ownership of the folder after the volume has been mounted. This information is written to the mounted file system. Each time you mount it, these new values will appear at the mount point.

And my advice is to change the metadata of the mount point folder (when not mounted), too.

share|improve this answer
"You need to change ownership of the folder after the volume has been mounted." Thats the deal nobody mentions... – ManuelSchneid3r Apr 15 '13 at 17:36

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.