All even I've tried to setup proper partitions for my storage partition that will serve my dual boot laptop. The partition is on the same drive I dual boot with. I can't seem to get figure out how to get permission to allow user(with root) to get read/write/execute enabled.
I only want the user and root to have full permissions on the partition. I don't want others to read/write/execute within it.
/etc/fstab is
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=6ccf4b83-d7ad-472d-a32f-3b70e3f74c77 / ext3 relatime,erro$
# /dev/sda1
UUID=857cd650-3fcc-4cf8-8b50-4bbbdaee26a2 none swap sw $
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/sda4 /media/Storage ext3 defaults 1 0
What would be nice is to have a group enabled for both user and root to enable what I want so no one else can see or use/ copy/ paste into it.
stat /dev/sda4 reads:
Code:
File: `/dev/sda4'
Size: 0 Blocks: 0 IO Block: 4096 block special file
Device: eh/14d Inode: 5868 Links: 1 Device type: 8,4
Access: (0660/brw-rw----) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-03-01 16:52:45.581941674 -0500
Modify: 2009-03-01 16:52:31.704004813 -0500
Change: 2009-03-01 20:39:54.453941665 -0500
stat /media/Storage reads:
Code:
File: `/media/Storage/'
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 804h/2052d Inode: 2 Links: 4
Access: (0007/d------rwx) Uid: ( 755/ UNKNOWN) Gid: ( 1000/ justin)
Access: 2009-03-01 16:49:15.000000000 -0500
Modify: 2009-03-01 16:05:32.000000000 -0500
Change: 2009-03-01 16:49:15.000000000 -0500
Basically when I formatted the drive, I 'sudo mkdir /dev/sda4 /media/Storage'. Not sure if is messing anything up.
It's obvious I need help. and all the help I get is much appreciate.
Thank you in advance.
Justin
Bookmarks