ravid
February 1st, 2009, 04:18 AM
Hey everyone,
I've just installed a new seagate 1tb sata drive. I have it installed fine, fstab is update and it mounts fine. However I was curious how to get the hard drive to be writable by me WITHOUT changing the owner/group on the mount point (it obviously writes fine if i change the owner/group to myself).
I only ask this, because during installation I mount one of my other two harddrives at /srv. My /srv drive permissions are set to root:root however I'm still able to write to that as my regular user. I have copied the exact fstab entry from /srv and duplicated it and changed the UUID to the new drive. Is there something else on the system that controlling my permissions to write there? And how do I get my new HDD to act the same way?
250gb HDD mounted to /srv
1000gb HDD mounted to /srv2
Any help is appreciated.
Cheers,
Ravid
FSTAB:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sdb1
UUID=79b8cde0-0c5f-411b-979b-0e653d6b3826 / ext3 relatime,errors=remount-ro 0 1
# /dev/sdb3
UUID=0d4c2bf3-7e12-4429-bfae-695a3b850427 /home ext3 relatime 0 2
# /dev/sda1
UUID=0dc1877a-7017-4280-aab6-edec66e7d8ce /srv ext3 relatime 0 2
# /dev/sdb2
UUID=6ae36403-ab4d-413d-bce9-2eac15fca9c2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
# /dev/sdb1
UUID=5e42aa77-ae53-476f-a192-3157bfd19c7e /srv2 ext3 relatime 0 2
Output of blkid:
/dev/sda1: UUID="0dc1877a-7017-4280-aab6-edec66e7d8ce" TYPE="ext3" SEC_TYPE="ext2"
/dev/sdb1: UUID="79b8cde0-0c5f-411b-979b-0e653d6b3826" TYPE="ext3"
/dev/loop0: TYPE="squashfs"
/dev/sdc1: UUID="5e42aa77-ae53-476f-a192-3157bfd19c7e" SEC_TYPE="ext2" TYPE="ext3" LABEL="bigboy"
/dev/sdb2: TYPE="swap" UUID="6ae36403-ab4d-413d-bce9-2eac15fca9c2"
/dev/sdb3: UUID="0d4c2bf3-7e12-4429-bfae-695a3b850427" SEC_TYPE="ext2" TYPE="ext3"
I've just installed a new seagate 1tb sata drive. I have it installed fine, fstab is update and it mounts fine. However I was curious how to get the hard drive to be writable by me WITHOUT changing the owner/group on the mount point (it obviously writes fine if i change the owner/group to myself).
I only ask this, because during installation I mount one of my other two harddrives at /srv. My /srv drive permissions are set to root:root however I'm still able to write to that as my regular user. I have copied the exact fstab entry from /srv and duplicated it and changed the UUID to the new drive. Is there something else on the system that controlling my permissions to write there? And how do I get my new HDD to act the same way?
250gb HDD mounted to /srv
1000gb HDD mounted to /srv2
Any help is appreciated.
Cheers,
Ravid
FSTAB:
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sdb1
UUID=79b8cde0-0c5f-411b-979b-0e653d6b3826 / ext3 relatime,errors=remount-ro 0 1
# /dev/sdb3
UUID=0d4c2bf3-7e12-4429-bfae-695a3b850427 /home ext3 relatime 0 2
# /dev/sda1
UUID=0dc1877a-7017-4280-aab6-edec66e7d8ce /srv ext3 relatime 0 2
# /dev/sdb2
UUID=6ae36403-ab4d-413d-bce9-2eac15fca9c2 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
# /dev/sdb1
UUID=5e42aa77-ae53-476f-a192-3157bfd19c7e /srv2 ext3 relatime 0 2
Output of blkid:
/dev/sda1: UUID="0dc1877a-7017-4280-aab6-edec66e7d8ce" TYPE="ext3" SEC_TYPE="ext2"
/dev/sdb1: UUID="79b8cde0-0c5f-411b-979b-0e653d6b3826" TYPE="ext3"
/dev/loop0: TYPE="squashfs"
/dev/sdc1: UUID="5e42aa77-ae53-476f-a192-3157bfd19c7e" SEC_TYPE="ext2" TYPE="ext3" LABEL="bigboy"
/dev/sdb2: TYPE="swap" UUID="6ae36403-ab4d-413d-bce9-2eac15fca9c2"
/dev/sdb3: UUID="0d4c2bf3-7e12-4429-bfae-695a3b850427" SEC_TYPE="ext2" TYPE="ext3"