How Do I Change Permissions on a Mount Point in Linux?
Contents How Do I Give Permission to Mount Point in Linux? You Can Add the User Option to /Etc/Fstab but That Only Allows the File System to Be Mounted by Any...
How do I give permission to mount point in Linux?
You can add the user option to /etc/fstab but that only allows the file system to be mounted by any user. It won’t change the permissions on the file system which is why you need chown and/or chmod . You can go ahead and add the user option so that a regular user without sudo can mount it should it be unmounted.
How do I change ownership of NFS mount point?
You need to change the permissions of the mounted filesystem, not of the mount point when the filesystem is not mounted. So mount /var/lib/mysql then chown mysql. mysql /var/lib/mysql . This will change the permissions of the root of the MySQL DB filesystem.