I have two laptop running Ubuntu 14.10. Both of these have a directory /media/Data
Code:
drwxr-xr-x 2 root root 4096 Feb 19 16:36 /media/Data/ #before mounting
The following entry exits in /etc/fstab of both the laptops
Code:
UUID=XXXXXXXXXXXXXXXXXXXXXX /media/Data ext4 defaults 0 0
However, after boot up, one of the laptop mounts the drive as root user and in the other it mounts as the logged-in user(with sudo powers)
Code:
drwxr-xr-x 3 root root 4096 Feb 18 00:32 /media/Data/ # laptop 1
drwxr-xr-x 3 user user 4096 Feb 18 00:32 /media/Data/ # laptop 2
1. Why the difference?
2. How can I get the drive mounted as logged in user?
Bookmarks