From: Marco Vaschetto on


-----Messaggio originale-----
Da: David Hammett [mailto:doclinux(a)copper.net]
Inviato: mercoledì 3 febbraio 2010 22.20
A: debian-user(a)lists.debian.org
Oggetto: sata hard drive mounting problem

I have a computer with debian 5.0 etch.

Etch is debian 4, lenny is debian 5, but this isn't the point.

I've added a sata
hard drive dev/sdb1 it shows up in system media folder but when I
click it I get permissions denied so tried to mount it and error no

mounting points I in /etc/fstab and /etc/mtab so I looked in fstab they

Are no settings for dev/sdb1 in it. I'm new to debian so I need to know

how to set it up so all user can use this drive.

Thanks And:
God Bless You!


You need add a line like this one in /etc/fstab:

/dev/device /mount/point filesistem options dump pass

For use normal user

/dev/sdb1 /media/HDD ext3 defaults,user,rw
0 0

N.B.
If you create the mount point whit a root user do you need change the owner
of the folder, is better you create a folder whit a normal user you will
like use that device.

Bye Marco



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster(a)lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: David Hammett on
Thanks Marco

You stated:>>

You need add a line like this one in /etc/fstab:

/dev/device /mount/point file system options dump pass

For use normal user

/dev/sdb1 /media/HDD ext3 defaults,user,rw
0 0
------------------------

The drive has an nfts windows file system on it with some folder already on
it. I'm trying to get my file's off it on to the new debian install I got
now, then I'm going to take the derive back out of this computer.

So I think I need to put the file system as nfts not ext3 right?





You stated:>>

If you create the mount point with a root user do you need change the owner
of the folder

---------------------------------

If all the folders are crowned with root as owner, How do I change them to
all users?



Thanks And:
God Bless You!




--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: James Wu on
Edit fstab and change the file system to ntfs.

Regarding the permissions, you need to make the mount point readable and
possibly writable by your users. There's many ways you can do go about
it, I'd do it via groups.

Here's an example:
'groupadd $GROUPNAME' # create new group
'usermod -G $GROUPNAME $USERNAME' # Adds user to group, run it for
whichever user you want to access the mount
'chown :$GROUPNAME Mountpoint' # modifies mountpoint permission to be of
the group
'chmod g+rw Mountpoint' # gives group read/write permissions

Cheers,
James


-----Original Message-----
From: David Hammett [mailto:doclinux(a)copper.net]
Sent: February 3, 2010 5:27 PM
To: m.vaschetto(a)snservice.net
Cc: debian-user(a)lists.debian.org
Subject: Re: R: sata hard drive mounting problem

Thanks Marco

You stated:>>

You need add a line like this one in /etc/fstab:

/dev/device /mount/point file system options dump pass

For use normal user

/dev/sdb1 /media/HDD ext3 defaults,user,rw
0 0
------------------------

The drive has an nfts windows file system on it with some folder already
on it. I'm trying to get my file's off it on to the new debian install I
got now, then I'm going to take the derive back out of this computer.

So I think I need to put the file system as nfts not ext3 right?





You stated:>>

If you create the mount point with a root user do you need change the
owner of the folder

---------------------------------

If all the folders are crowned with root as owner, How do I change them
to all users?



Thanks And:
God Bless You!




--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster(a)lists.debian.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org