You are not logged in.

#1 2007-04-27 00:47:21

Mystal
Member
From: fancy glass enclosure
Registered: 2007-04-27
Posts: 13

Mounting internal partition

Recently I had a great idea. I often mess around with different Linux distributions and, more than once, have lost all of my music and documents and pictures. So to alleviate this, I have partitioned a portion of my hard drive to contain those (as ext3). Now my question is, what would be the best way to mount it? I want to use it like an "external" hard drive which just has my data and can be read/written to by all users. Just mounting it like:

mount /dev/sda1 /mnt/storage

doesn't let me, the user, access it for writing so... any ideas?

Offline

#2 2007-04-27 01:12:02

rayjgu3
Member
From: Chicago IL usa
Registered: 2004-07-04
Posts: 695

Re: Mounting internal partition

put an entry in

/etc/fstab

/dev/sda1 /mnt/storage ext3 noauto,users,rw,exec 0 0

then "mount /dev/sda1"
if you take out "noauto" it will mount it at bootup

Offline

#3 2007-04-27 04:51:38

dw
Member
From: Vienna, Austria
Registered: 2006-11-25
Posts: 160

Re: Mounting internal partition

Mystal, I hope you don't mind if I kind of highjack this thread.

My problem is similar. I have a partition (sda5) that is a "work and storage" partition. The problem is, I don't know how to chmod, mount or chown this partition, so that _every_ user on the system has _full_ access (read, write, execute) on this partition.

I created a group "share" and added all my users to this group. Then I chowned the partition root:share recursively and chmoded it 777. However, when any user creates a file or a directory, this file or directory belongs to the user that has created and and it is not possible for the other users to delete or move this file/directory.

I've read something about setting suid bit, but this didn't work either. This would be pretty important for me thus my question: Is it even possible to achieve what I want?

Offline

Board footer

Powered by FluxBB