[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] --date
From: |
Charles Duffy |
Subject: |
Re: [Gnu-arch-users] --date |
Date: |
Thu, 18 Dec 2003 18:36:17 -0600 |
On Thu, 2003-12-18 at 17:07, James Blackwell wrote:
> You could also save my-id, set it to what you want, do your work, and
> set it back. This would be trivial in perl and probably trivial in
> python as well.
Certainly, it's trivial, but the issue is safety. What if the script
errors out after my-id has been changed but before it's returned to its
original state?
Sure, I can put a try/finally block around the relevant code, but it's
only *reasonably good* safety, not perfect -- plus there's potential for
issues if the user is trying to use tla concurrently.
- [Gnu-arch-users] --date, Dustin Sallings, 2003/12/18
- Re: [Gnu-arch-users] --date, Charles Duffy, 2003/12/18
- Re: [Gnu-arch-users] --date, Dustin Sallings, 2003/12/18
- Re: [Gnu-arch-users] --date, Andrew Suffield, 2003/12/18
- Re: [Gnu-arch-users] --date, Jason McCarty, 2003/12/18
- Re: [Gnu-arch-users] --date, Charles Duffy, 2003/12/18
- Re: [Gnu-arch-users] --date, James Blackwell, 2003/12/18
- Re: [Gnu-arch-users] --date,
Charles Duffy <=
- Re: [Gnu-arch-users] --date, James Blackwell, 2003/12/18
- Re: [Gnu-arch-users] --date, Charles Duffy, 2003/12/18
- Re: [Gnu-arch-users] --date, Dustin Sallings, 2003/12/18
- Re: [Gnu-arch-users] --date, James Blackwell, 2003/12/18
- Message not available
- Re: [Gnu-arch-users] --date, James Blackwell, 2003/12/18
- Re: [Gnu-arch-users] --date, Dustin Sallings, 2003/12/18
- Re: [Gnu-arch-users] --date, Tom Lord, 2003/12/18
- Re: [Gnu-arch-users] --date, James Blackwell, 2003/12/18
- Re: [Gnu-arch-users] --date, Robert Collins, 2003/12/18