fstab owner

Fstab owner

Ubuntu Forums Code of Conduct.

Connect and share knowledge within a single location that is structured and easy to search. But everytime we mount the partition, the ownership changes to root. Because of this, we couldn't create additional MySQL database. You need to change the permissions of the mounted filesystem, not of the mount point when the filesystem is not mounted. The basic idea is that the filesystem holding the DB needs to be changed, not the mount point, unless its path has some issues, e. I added rw and exec which might further help you prevent access troubles presuming you are on a development system, not a production server.

Fstab owner

Post by Huecuva » Sun Jun 25, am. Post by sgtor » Sun Jun 25, am. Post by Mute Ant » Sun Jun 25, am. Post by altair4 » Sun Jun 25, am. Post by Huecuva » Sun Jun 25, pm. Post by altair4 » Sun Jun 25, pm. Privacy Terms. Skip to content. Quick links. Unable to change ownership of a mount point [Solved! Forum rules There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section. Before you post read how to get help.

Viewed times.

Connect and share knowledge within a single location that is structured and easy to search. I also want www-data to have ownership or access to it since I'm using it as storage for Nextcloud. To find the UUID of the file system, you can use sudo blkid. This will give you a list that looks something like:. Note: There will also be a number of squashfs entries, but those can be ignored. As an example, your entry may look like:.

In a nutshell, mounting is the process where a raw physical partition is prepared for access and assigned a location on the file system tree or mount point. Options for mount and fstab are similar. Partitions listed in fstab can be configured to automatically mount during the boot process. Mount points should not have spaces in the names. This field is usually set to 0, which disables it. The root device should be 1.

Fstab owner

The fstab 5 file can be used to define how disk partitions, various other block devices, or remote file systems should be mounted into the file system. Each file system is described in a separate line. These definitions will be converted into systemd mount units dynamically at boot, and when the configuration of the system manager is reloaded.

Cartercash

Last edited by Mute Ant on Sun Jun 25, am, edited 1 time in total. Savvas Radevic Savvas Radevic 1, 8 8 silver badges 15 15 bronze badges. As expected the folder was owned by me. But everytime we mount the partition, the ownership changes to root. However if you think your question is a bit stupid, then this is the right place for you to post it. If you did change them, please undo your changes and use the default permissions, because it can interfere with other programs. Modified 1 year, 6 months ago. November 14th, 1. Gnome environment also allows to click on a partition on the left side menu of nautilus the file manager and it auto-mounts the partition. Join Date Dec Beans 6, Hi saudabh.

Connect and share knowledge within a single location that is structured and easy to search.

The Overflow Blog. Followed this step for step and it fixed my issue completely! I have two mechanical HDD's in my computer. On Ubuntu Code: Select all sudo mount -a. How to set the owner of a mounted partition in Linux? This should also mean that the mount command if it needs to be called won't need root privileges to mount that volume. But , still the problem persists. Thread: Configure fstab to change ownership to specific user. Changing how community leadership works on Stack Exchange: a proposal and Modified 9 months ago. Not the answer you're looking for? The Overflow Blog.

0 thoughts on “Fstab owner

Leave a Reply

Your email address will not be published. Required fields are marked *