|
Home > Archive > Linux Debian support > August 2006 > permissions issues mounting volume on DEBIANSLUG
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
permissions issues mounting volume on DEBIANSLUG
|
|
| tommaso 2006-08-21, 7:13 pm |
| Hi, I'm a new DebianSlug new user, I've just installed it onto my new NSLU.
I've the following problem:
I've made a directory /share
owner is my user and group is the same
chown gettons: /share
it's ok for now
after I 've an ext3 partition on /dev/sda3 and I mount it
in fstab there is the following line about /dev/sda3
/dev/sda3 /share ext3 defaults,users 0 0
then...
I mount it with my user and he can mount it but ...
the directory /share now is property of root and group root and not
gettons gettons...
I can't understand why, in my linux box desktop I use slackware and the
same configuration is ok..
Also when I reboot the dir is property of root.If I umount that volume
/dev/sda3 I can see the dir /share where was mounted is still gettons
property.
Can you help, me?
I whish that dir will be property of my user only...and not root...
Thanks in advance.
Tommy
| |
| Bill Marcum 2006-08-22, 1:14 am |
| On Mon, 21 Aug 2006 20:21:42 +0200, tommaso
<gettons@gmail.com> wrote:
> Hi, I'm a new DebianSlug new user, I've just installed it onto my new NSLU.
> I've the following problem:
>
> I've made a directory /share
> owner is my user and group is the same
> chown gettons: /share
>
>
> it's ok for now
>
> after I 've an ext3 partition on /dev/sda3 and I mount it
>
> in fstab there is the following line about /dev/sda3
>
> /dev/sda3 /share ext3 defaults,users 0 0
>
> then...
>
> I mount it with my user and he can mount it but ...
>
> the directory /share now is property of root and group root and not
> gettons gettons...
> I can't understand why, in my linux box desktop I use slackware and the
> same configuration is ok..
>
> Also when I reboot the dir is property of root.If I umount that volume
> /dev/sda3 I can see the dir /share where was mounted is still gettons
> property.
>
>
> Can you help, me?
>
> I whish that dir will be property of my user only...and not root...
>
>
Chown /share after you mount it.
--
"What is wanted is not the will to believe, but the will to find out, which is
the exact opposite."
-- Bertrand Russell, _Sceptical_Essays_, 1928
| |
| anders.jackson@gmail.com 2006-08-22, 7:16 pm |
|
tommaso wrote:
> Hi, I'm a new DebianSlug new user, I've just installed it onto my new NSLU.
> I've the following problem:
>
> I've made a directory /share
> owner is my user and group is the same
> chown gettons: /share
>
>
> it's ok for now
>
> after I 've an ext3 partition on /dev/sda3 and I mount it
>
> in fstab there is the following line about /dev/sda3
>
> /dev/sda3 /share ext3 defaults,users 0 0
>
> then...
>
> I mount it with my user and he can mount it but ...
>
> the directory /share now is property of root and group root and not
> gettons gettons...
> I can't understand why, in my linux box desktop I use slackware and the
> same configuration is ok..
>
> Also when I reboot the dir is property of root.If I umount that volume
> /dev/sda3 I can see the dir /share where was mounted is still gettons
> property.
A mounting point for a file system like your dierctory /share on / is
"covered" by the new file system in /dev/sda3 that is mounted on top op
/share. So what you see after mount is the new file systems rights,
not directory /share on your root file system (that is mounted on /).
So as Bill wrote, just run "chown myuser.mygroup /share", and all will
be well after that, as you chanded rights on the file system at
/dev/sd3..
Good luck
|
|
|
|
|