On Jan 26, 2008 7:42 AM, Daniele Maccari <[EMAIL PROTECTED]> wrote:
>
> Christian Holzberger wrote:
> > hi,
> >
> > iam new to gobolinux and this list so tread me like a noob :-D
> >
> > i see some problems with pam.d and the way filesystem linkage works
> >
> > programms that use pam.d install their own /etc/pam.d (on sysv fslayout)
> > authentication scripts, in gobo it will
> > be /Programs/Linux-PAM/Settings/pam.d/.
> >
> > the way programms normally install they install their new pam scripts
> > directly into the pam directory.
> >
> > if i install a programm that needs pam.d i cant just add
> > Settings/pam.d/thenewscritp to the programm using pam (it wont get
> > linked where it should), i think it is that way because /etc/pam.d
> > or /System/Settings/pam.d is linked directly (and unique) to the
> > Linux-PAM folder.
> >
> >
> > if there is an issue with such situations it has to be solved genarally
> > and not just for libpam. a one to many configuration folder should
> > always be possible.
> >
> > greetings from germany,
> > C. Holzberger

I think this should work fine already.

The way SymlinkProgram has always worked for me is that if some
directory is only in one Program, it links the directory; but later,
if a different Program has a file in that directory, it "unrolls" the
directory, symlinks all the individual files in the old Program, then
adds the symlink to the new Program.  So as long as you use Script
tools for everything, situations like this should resolve themselves
transparently.

In fact, I just tried it out.  Here you can see a symlink to a
directory turning itself into a directory of links:


[EMAIL PROTECTED] ~]cd /etc
[EMAIL PROTECTED] /System/Settings]ll -d hcfpcimodem
... hcfpcimodem -> /Programs/HCFPCIModem/Settings/hcfpcimodem
[EMAIL PROTECTED] /System/Settings]ls hcfpcimodem/
nvm  package
[EMAIL PROTECTED] /System/Settings]cd /Programs/LessOpen/Settings
[EMAIL PROTECTED] /Programs/LessOpen/Settings]mkdir hcfpcimodem
[EMAIL PROTECTED] /Programs/LessOpen/Settings]cd hcfpcimodem/
[EMAIL PROTECTED] /Programs/LessOpen/Settings/hcfpcimodem]touch HEY
[EMAIL PROTECTED] /Programs/LessOpen/Settings/hcfpcimodem]cd
[EMAIL PROTECTED] ~]SymlinkProgram LessOpen/
...
[EMAIL PROTECTED] ~]ll -d /etc/hcfpcimodem
... /etc/hcfpcimodem
[EMAIL PROTECTED] ~]ls /etc/hcfpcimodem/
HEY  nvm  package
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to