Re: Karaf seems to ignore new files in folder etc if flag x is not set

2023-06-29 Thread Jean-Baptiste Onofré
Hi

Catcha :)

Are you sure it's on the file itself ? It makes sense to have x for
the etc folder (or subfolder) itself, but surprising for the file.

I checked in FileInstall, and the WatcherScanner doesn't define
anything special on the filesystem attribute. However, it could be
related to ENTRY_CREATE in FileInstall Watcher where he checks if it
has to go subfolder, so checking the attribute there. I can do a
reproducer.

Regards
JB

On Thu, Jun 29, 2023 at 4:28 PM Ephemeris Lappis
 wrote:
>
> Hello
>
> I was talking about the Unix files flags/atttributes : we've observed
> that when new files are dropped into the etc folder, if the owner
> attributes are only "rw", the file is not taken into account and the
> expected configuration is not loaded ; "rwx" seems to be required, and
> I have no explanation for that.
>
> Is it clearer ?
>
> Thanks.
>
> Regards.
>
> Le jeu. 29 juin 2023 à 14:04, Jean-Baptiste Onofré  a 
> écrit :
> >
> > Hi,
> >
> > What's the flag "x" ? :)
> >
> > Can you please elaborate a bit ?
> >
> > Thanks,
> > Regards
> > JB
> >
> > On Wed, Jun 28, 2023 at 3:49 PM Ephemeris Lappis
> >  wrote:
> > >
> > > Hello.
> > >
> > > If I'm not wrong, it seems that Karaf (4.4.3 in our last works)
> > > ignores new files copied into the folder "etc" if these files do not
> > > have the flag "x" set.
> > >
> > > I don't see any documentation about this, and a confirmation should be
> > > welcome (and an explanation if it's confirmed
> > >
> > > Thanks in advance.
> > >
> > > Regards.


Re: Karaf seems to ignore new files in folder etc if flag x is not set

2023-06-29 Thread Ephemeris Lappis
Hello

I was talking about the Unix files flags/atttributes : we've observed
that when new files are dropped into the etc folder, if the owner
attributes are only "rw", the file is not taken into account and the
expected configuration is not loaded ; "rwx" seems to be required, and
I have no explanation for that.

Is it clearer ?

Thanks.

Regards.

Le jeu. 29 juin 2023 à 14:04, Jean-Baptiste Onofré  a écrit :
>
> Hi,
>
> What's the flag "x" ? :)
>
> Can you please elaborate a bit ?
>
> Thanks,
> Regards
> JB
>
> On Wed, Jun 28, 2023 at 3:49 PM Ephemeris Lappis
>  wrote:
> >
> > Hello.
> >
> > If I'm not wrong, it seems that Karaf (4.4.3 in our last works)
> > ignores new files copied into the folder "etc" if these files do not
> > have the flag "x" set.
> >
> > I don't see any documentation about this, and a confirmation should be
> > welcome (and an explanation if it's confirmed
> >
> > Thanks in advance.
> >
> > Regards.


Re: Karaf seems to ignore new files in folder etc if flag x is not set

2023-06-29 Thread Jean-Baptiste Onofré
Hi,

What's the flag "x" ? :)

Can you please elaborate a bit ?

Thanks,
Regards
JB

On Wed, Jun 28, 2023 at 3:49 PM Ephemeris Lappis
 wrote:
>
> Hello.
>
> If I'm not wrong, it seems that Karaf (4.4.3 in our last works)
> ignores new files copied into the folder "etc" if these files do not
> have the flag "x" set.
>
> I don't see any documentation about this, and a confirmation should be
> welcome (and an explanation if it's confirmed
>
> Thanks in advance.
>
> Regards.


Karaf seems to ignore new files in folder etc if flag x is not set

2023-06-28 Thread Ephemeris Lappis
Hello.

If I'm not wrong, it seems that Karaf (4.4.3 in our last works)
ignores new files copied into the folder "etc" if these files do not
have the flag "x" set.

I don't see any documentation about this, and a confirmation should be
welcome (and an explanation if it's confirmed

Thanks in advance.

Regards.