1 |
On Tue, Jan 20, 2009 at 9:16 AM, Hung Dang <hungptit@×××××.com> wrote: |
2 |
|
3 |
> Hi all, |
4 |
> I need to mount a new hard drive formatted in ext3 to /mnt/C such that |
5 |
> multiple users can use it. |
6 |
> However, all users can only read the data from the share drive |
7 |
> Any suggestion? |
8 |
> |
9 |
> Below is my fstab configuration: |
10 |
> /dev/sda1 /mnt/C ext3 rw,auto,noatime,defaults 0 1 |
11 |
> |
12 |
> Thanks |
13 |
> Hung |
14 |
> |
15 |
> |
16 |
|
17 |
Do you have rw permission set to the contents of the the formatted |
18 |
harddrive? For example, if you want the whole thing to be rwx, do |
19 |
chmod 777 /mnt/C/* -R. I personally, would do this: |
20 |
|
21 |
find /mnt/C -type d | xargs chmod 777 |
22 |
find /mnt/C -type f | xargs chmod 666 |
23 |
|
24 |
This will make all directories in the drive writeable, readable and |
25 |
executable (necessary for dirs) to everyone. All files will be readable and |
26 |
writeable to everyone. |