Unix Technical Forum

permissions issues mounting volume on DEBIANSLUG

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: ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 07:56 AM
tommaso
 
Posts: n/a
Default permissions issues mounting volume on DEBIANSLUG

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 07:56 AM
Bill Marcum
 
Posts: n/a
Default Re: permissions issues mounting volume on DEBIANSLUG

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 07:56 AM
anders.jackson@gmail.com
 
Posts: n/a
Default Re: permissions issues mounting volume on DEBIANSLUG


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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:49 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com