RE: Mounting an ext2 filesystem at mount point with specific uid,gid

2007-09-23 Thread David Balazic
From: Kevin Mark [mailto:[EMAIL PROTECTED] > > On Sat, Sep 22, 2007 at 05:30:11AM +0530, Raj Kiran Grandhi wrote: > > [EMAIL PROTECTED] wrote: > > > After mounting, run > > # chown storage.storage /home/storage/store > > > > Hi Rajkiran, > it should be noted that when you give an instruction tha

Re: Mounting an ext2 filesystem at mount point with specific uid, gid

2007-09-21 Thread Kevin Mark
On Sat, Sep 22, 2007 at 05:30:11AM +0530, Raj Kiran Grandhi wrote: > [EMAIL PROTECTED] wrote: >> Hello, >> I'm using debian 4.0r1. I have an ext2 partition at /dev/hda1 and want to >> mount >> it at /home/storage/store. The /etc/fstab record I use is as follows: >> /dev/hda1 /home/storage/store

Re: Mounting an ext2 filesystem at mount point with specific uid, gid

2007-09-21 Thread Raj Kiran Grandhi
[EMAIL PROTECTED] wrote: Hello, I'm using debian 4.0r1. I have an ext2 partition at /dev/hda1 and want to mount it at /home/storage/store. The /etc/fstab record I use is as follows: /dev/hda1 /home/storage/storeext2 defaults 0 4 Before I mount it, the command "ls -al /home/storage"

Re: Mounting an ext2 filesystem at mount point with specific uid, gid

2007-09-21 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > Hello, > > I'm using debian 4.0r1. I have an ext2 partition at /dev/hda1 and > want to mount it at /home/storage/store. The /etc/fstab record I use > is as follows: > > /dev/hda1 /home/storage/storeext2 defaults 0

Re: Mounting an ext2 filesystem at mount point with specific uid, gid

2007-09-21 Thread CaT
On Fri, Sep 21, 2007 at 03:15:49PM +0300, [EMAIL PROTECTED] wrote: > drwxr-xr-x 2 storage storage 4096 2007-09-19 17:42 store > > Which is of course empty. After the mount, which is successfull, the command > "ls -al /home/storage" yields: > > drwxrwsr-x 10505505 4096 2007-09-21 16:03 st

RE: Mounting an ext2 filesystem at mount point with specific uid, gid

2007-09-21 Thread David Balazic
The permissions and user/group ids are stored on the ext2 partition. As always ;-) The fact that the ount point has one set of those before, and another after mount can be a bit confusing. To clarify : After mount, the root of the filesytem on /dev/hda1 becomes /home/storage/store. The origina