This is a discussion on permissions issues mounting volume on DEBIANSLUG within the Debian Linux support forums, part of the Debian Linux category; --> Hi, I'm a new DebianSlug new user, I've just installed it onto my new NSLU. I've the following problem: ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| ||||
| 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 |
| Thread Tools | |
| Display Modes | |
|
|