Bug#583316: Running gs in a safe directory.

2010-06-01 Thread Bernhard R. Link
* paul.sz...@sydney.edu.au [100601 01:06]: > I do not see where /usr/lib/gv/safe-gs-workdir is created. It's done in debian/rules so that not makefiles have to be changed. (and it's /usr/share/gv/safe-gs-workdir btw). > I would prefer to check it actually is empty... pure paranoia, is > root-own

Bug#583316: Running gs in a safe directory.

2010-05-31 Thread paul . szabo
Dear Bernhard, > Instead of trying to use -P- (which currently does not work > anyway) with all the complexity of guessing where to add it > if the commands are taken from some user config file, it just > changes to an empty directory befor calling gs. Sounds good... except: I do not see where /

Bug#583316: Running gs in a safe directory.

2010-05-30 Thread Bernhard R. Link
Attached patch is what I plan to use in an package targeted at stable-security I hope to have ready soon. Instead of trying to use -P- (which currently does not work anyway) with all the complexity of guessing where to add it if the commands are taken from some user config file, it just changes to