Make the desired mountpoints for the partitions (if they don't exist). Change mount1 to your desired mountpoint name:
Make yourself the owner of the mountpoints if desired. This will make you the owner of the mountpoint/folder in /media, although for NTFS partitions the file permissions are set at mounting and cannot be changed:
Make a backup of fstab and open for editing:
Add these lines, where sdXX is the partition you want mounted at boot (change to your specific device). The 'uid' will set ownership to the user whose id is 1000 (normally the first user of the system). The umask sets permissions of 755 - rwx for owner, rx for group and others. If this is a removable drive I would highly recommend mounting with either a UUID or label. To get the UUID, run “sudo blkid”. If you want to use the device designation, substitute the first entry with /dev/sdXX :
No comments:
Post a Comment