/media or /mnt or anywhere ? Discussion.

gpstarman@lemmy.today to Linux@lemmy.ml – 126 points –

Where should I mount my internal drive partitions?

As far as I searched on the internet, I came to know that

/Media = mount point for removable media that system do it itself ( usb drive , CD )

/Mnt = temporarily mounting anything manually

I can most probably mount anything wherever I want, but if that's the case what's the point of /mnt? Just to be organised I suppose.

TLDR

If /mnt is for temporary and /media is for removable where should permanent non-removable devices/partitions be mounted. i.e. an internal HDD which is formatted as NTFS but needs to be automounted at startup?

Asking with the sole reason to know that, what's the practice of user who know Linux well, unlike me.

I know this is a silly question but I asked anyway.

162

You are viewing a single comment

Thank You.

I also just saw your edit. Look into Linux ownership and permissions. chmod and chown are important commands to know how to use as a Linux system administrator.

Running sudo chown -R user:user ./drive in /mnt will give your user account ownership of that directory and all folders inside of it.

Make sure you replace user with your username and drive with the name of the mount point for the drive.

sudo chown -R user:user ./*

Not afraid of terminal or anything, but can't I do it in GUI?

EDIT: I think I can do it by going to file properties on an elevated file manager.

Hm, you probably can, but I personally don't and I'm not sure which file manager you're using. I like the terminal for this because it's quicker and easier to do (or undo if you fuck up).

I also gave you the wrong command earlier, sudo chown -R user:user ./* doesn't affect the top-level folder (e.g., /mnt/drive). My mistake.