Re: Is this a filesystem bug?

2007-09-08 Thread Theo de Raadt
I am not sure I agree with this. These are implimentation details as to how mounts work (and always have), and describing them like this as if they are higher-level issues is silly. > Miod Vallat wrote on Sat, Sep 08, 2007 at 07:07:46PM +: > > Otto Moerbeek wrote: > > >> It's not a bug, see

Re: Is this a filesystem bug?

2007-09-08 Thread Ingo Schwarze
Miod Vallat wrote on Sat, Sep 08, 2007 at 07:07:46PM +: > Otto Moerbeek wrote: >> It's not a bug, see mount(2). > You meant mount(8). All the same, in view of the code in /usr/src/sys/kern/vfs_lookup.c, function lookup, near ISDOTDOT, please consider: Index: mount.2 =

Re: Is this a filesystem bug?

2007-09-08 Thread Antti Harri
On Sat, 8 Sep 2007, Otto Moerbeek wrote: It's not a bug, see mount(2). Ah, thanks for the clarification. Although I'm still curious about the reason. Here's the section included for the archives: CAVEATS After a successful mount, the permissions on the original mount point de- term

Re: Is this a filesystem bug?

2007-09-08 Thread Miod Vallat
> It's not a bug, see mount(2). You meant mount(8). Miod

Re: Is this a filesystem bug?

2007-09-08 Thread Otto Moerbeek
On Sat, 8 Sep 2007, Antti Harri wrote: > Hello, > > First just plain directory with mode=700: > > drwx-- 43 root wheel2048 Sep 7 22:24 /backups/ > > Then I mount filesystem under /backups: > > /dev/sd0i on /backups type ffs (local, softdep) > drwxr-x--- 43 root wheel

Re: Is this a filesystem bug?

2007-09-08 Thread Woodchuck
On Sat, 8 Sep 2007, Antti Harri wrote: > Hello, > > First just plain directory with mode=700: > > drwx-- 43 root wheel2048 Sep 7 22:24 /backups/ > > Then I mount filesystem under /backups: > > /dev/sd0i on /backups type ffs (local, softdep) > drwxr-x--- 43 root wheel

Is this a filesystem bug?

2007-09-08 Thread Antti Harri
Hello, First just plain directory with mode=700: drwx-- 43 root wheel2048 Sep 7 22:24 /backups/ Then I mount filesystem under /backups: /dev/sd0i on /backups type ffs (local, softdep) drwxr-x--- 43 root wheel2048 Sep 7 22:24 /backups/ The permissions changed,