Re: executing newgrp from python in current shell possible?

2008-01-12 Thread Svenn Are Bjerkem
On Jan 9, 9:18 pm, Zentrader [EMAIL PROTECTED] wrote: On Jan 9, 5:56 am, Svenn Are Bjerkem [EMAIL PROTECTED] wrote: I have been looking for a way to execute this command as a part of a script, but it seems that the changes are only valid in the context of the script and when the script

Re: executing newgrp from python in current shell possible?

2008-01-12 Thread Karthik Gurusamy
On Jan 12, 6:19 am, Svenn Are Bjerkem [EMAIL PROTECTED] wrote: On Jan 9, 9:18 pm, Zentrader [EMAIL PROTECTED] wrote: On Jan 9, 5:56 am, Svenn Are Bjerkem [EMAIL PROTECTED] wrote: I have been looking for a way to execute this command as a part of a script, but it seems that the changes

executing newgrp from python in current shell possible?

2008-01-09 Thread Svenn Are Bjerkem
Hi, as a user on a linux system I am member of the groups users and design with users as my default group. To controll the accessibility of some parts of the file system, creation of files and directories in those parts must be done with group design. This is currently done manually with newgrp

Re: executing newgrp from python in current shell possible?

2008-01-09 Thread Zentrader
On Jan 9, 5:56 am, Svenn Are Bjerkem [EMAIL PROTECTED] wrote: I have been looking for a way to execute this command as a part of a script, but it seems that the changes are only valid in the context of the script and when the script exits, the current shell still have the original users group