Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-19 Thread John Morrison
On Sun, September 18, 2005 10:14 pm, Corinna Vinschen wrote: On Sep 18 11:12, John Morrison wrote: On Sat, September 17, 2005 2:35 pm, Corinna Vinschen wrote: I'm wondering if base-files can't check if /etc/profile has been changed, for instance, using md5sum. Then it could overwrite the

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-19 Thread Corinna Vinschen
On Sep 19 09:02, John Morrison wrote: On Sun, September 18, 2005 10:14 pm, Corinna Vinschen wrote: Humm, playing devils advocate for a minute - but if a user is happy with the system they've got (perhaps by tweaking files themselves) - is it the systems job to force them to update? The

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-18 Thread John Morrison
On Sat, September 17, 2005 2:35 pm, Corinna Vinschen wrote: On Sep 17 07:19, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Max Bowsher on 9/16/2005 4:27 PM: The current /etc/profile does not permit the use of symlinks in /etc/profile.d/ - it ignores them.

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-18 Thread John Morrison
On Sat, September 17, 2005 5:33 pm, Max Bowsher wrote: John Morrison replied to me privately (accidentally, I presume). Yes, it was - sorry Max. I'm forwarding the message to cygwin-apps@ to maintain threading: Thanks - I wondered by it didn't appear on the list before I logged off! J.

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-18 Thread John Morrison
On Sun, September 18, 2005 1:14 am, Max Bowsher wrote: Eric Blake wrote: Sorry, didn't realise. If I change the line /bin/find /etc/profile.d -type f -iname '*.sh' -or -iname '*.zsh' to be /bin/find -L /etc/profile.d -type f -iname '*.sh' -or -iname '*.zsh' would that fix things? (The

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-18 Thread Corinna Vinschen
On Sep 18 11:12, John Morrison wrote: On Sat, September 17, 2005 2:35 pm, Corinna Vinschen wrote: I'm wondering if base-files can't check if /etc/profile has been changed, for instance, using md5sum. Then it could overwrite the file if it's still the original version, or, if it has been

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Max Bowsher on 9/16/2005 4:27 PM: The current /etc/profile does not permit the use of symlinks in /etc/profile.d/ - it ignores them. Unfortunately, even if this was fixed in the package, existing installs wouldn't get fixed, because

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 9/17/2005 7:19 AM: Here's my idea - add a /etc/profile/symlinkhandler.sh that detects whether /etc/profile has been patched yet, and if not, source all the symlinks in /etc/profile. And after more thought, one easy way

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-17 Thread Corinna Vinschen
On Sep 17 07:19, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Max Bowsher on 9/16/2005 4:27 PM: The current /etc/profile does not permit the use of symlinks in /etc/profile.d/ - it ignores them. Unfortunately, even if this was fixed in the package,

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-17 Thread Max Bowsher
John Morrison replied to me privately (accidentally, I presume). I'm forwarding the message to cygwin-apps@ to maintain threading: Original Message below: --- Hi Max, On Fri, September 16, 2005 11:27 pm, Max Bowsher wrote: The current /etc/profile does not permit the use of

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-17 Thread Max Bowsher
John Morrison wrote: Hi Max, On Fri, September 16, 2005 11:27 pm, Max Bowsher wrote: The current /etc/profile does not permit the use of symlinks in /etc/profile.d/ - it ignores them. Sorry, didn't realise. If I change the line /bin/find /etc/profile.d -type f -iname '*.sh' -or -iname

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-17 Thread Eric Blake
Sorry, didn't realise. If I change the line /bin/find /etc/profile.d -type f -iname '*.sh' -or -iname '*.zsh' to be /bin/find -L /etc/profile.d -type f -iname '*.sh' -or -iname '*.zsh' would that fix things? (The -L tells find to follow the link and make decisions based on

Re: base-files: Does not permit the use of symlinks in /etc/profile.d/

2005-09-17 Thread Max Bowsher
Eric Blake wrote: Sorry, didn't realise. If I change the line /bin/find /etc/profile.d -type f -iname '*.sh' -or -iname '*.zsh' to be /bin/find -L /etc/profile.d -type f -iname '*.sh' -or -iname '*.zsh' would that fix things? (The -L tells find to follow the link and make decisions based