/[pdpsoft]/tags/glexec_mkgltempdir_R_0_0_2_1/mkgltempdir
ViewVC logotype

Log of /tags/glexec_mkgltempdir_R_0_0_2_1/mkgltempdir

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 2068 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 28 09:10:58 2010 UTC (11 years, 3 months ago) by msalle
File length: 6807 byte(s)
Copied from: trunk/grid-mw-security/glexec/util/mkgltempdir/mkgltempdir revision 2066
Diff to previous 2066
Fixing a number of issues in the 0.0.1 version:

- removal didn't work, because gLExec 0.8 (and 0.7) no longer stays in cwd if
  chdir to homedir fails, but *returns* to cwd. If that fails (e.g. permission
  denied) gLExec does a cd to /. Hence securedir must in any case be 711 when
  trying to remove tmpdir. Furthermore the argument to rmdir and rm -rf must be
  absolute.
- adding -v option: version
- updating help to show all possible options, including -h, -f and the new -v
- fixing problem with options needing an argument, but not getting one: shift 2
  failed resulting in an endless loop.
- explicitly adding a path and having script figuring out the location of all
  the tools.
- adding variable for rmdir.
- changing one missing chmod into $chmod



Revision 2066 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 28 09:02:59 2010 UTC (11 years, 3 months ago) by msalle
Original Path: trunk/grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 6807 byte(s)
Diff to previous 2065
-V option should be lower case in help...


Revision 2065 - (view) (download) (annotate) - [select for diffs]
Modified Thu Oct 28 09:01:57 2010 UTC (11 years, 3 months ago) by msalle
Original Path: trunk/grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 6807 byte(s)
Diff to previous 1928
- few bug fixes:
    removal didn't work, because gLExec 0.8 (and 0.7) no longer stays in cwd if
    chdir to homedir fails, but *returns* to cwd. If that fails (e.g. permission
    denied) gLExec does a cd to /. Hence securedir must in any case be 711 when
    trying to remove tmpdir. Furthermore the argument to rmdir and rm -rf must
    be absolute.
- adding -v option: version
- updating help to show all possible options, including -h, -f and the new -v
- fixing problem with options needing an argument, but not getting one: shift 2
  failed resulting in an endless loop.
- explicitly adding a path and having script figuring out the location of all
  the tools.
- adding variable for rmdir.
- changing one missing chmod into $chmod



Revision 1928 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 21 14:33:24 2010 UTC (11 years, 4 months ago) by msalle
Original Path: trunk/grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 6279 byte(s)
Diff to previous 1927
Make sure also TMPDIR is accessible for the target user.



Revision 1927 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 21 13:54:45 2010 UTC (11 years, 4 months ago) by msalle
Original Path: trunk/grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 6118 byte(s)
Diff to previous 1926
Two fixes:
- mktemp only uses absolute path templates, including the main one for
  targetdir. gLExec tries a chmod to the target homedir, so the directory would
  have been made there, not in stickydir.
- temporarily open securedir for mktemp, because glexec now runs in / not in the
  cwd of the calling user.



Revision 1926 - (view) (download) (annotate) - [select for diffs]
Modified Tue Sep 21 13:22:27 2010 UTC (11 years, 4 months ago) by msalle
Original Path: trunk/grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 5992 byte(s)
Diff to previous 1841
- making sure all paths are absolute, hopefully portable enough. For glexec
  itself, the location will be based on GLEXEC_LOCATION if set, or alternatively 
  GLITE_LOCATION if that is set, or /opt/glite in other cases.
  Note that gLExec does not use PATH since it calls execve which ignores PATH.

Note: it seems the current setup is broken, since securedir is 0700, which means
any subdir is unaccessible?!



Revision 1841 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jul 7 14:44:31 2010 UTC (11 years, 6 months ago) by msalle
Original Path: trunk/grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 5886 byte(s)
Diff to previous 31
Updating license & copyright


Revision 31 - (view) (download) (annotate) - [select for diffs]
Modified Fri Dec 19 08:18:56 2008 UTC (13 years, 1 month ago) by davidg
Original Path: trunk/grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 5320 byte(s)
Diff to previous 16
Created convention


Revision 16 - (view) (download) (annotate) - [select for diffs]
Modified Fri Apr 11 01:46:16 2008 UTC (13 years, 9 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 5320 byte(s)
Diff to previous 15
Escaped the TMPDIR in the hel text


Revision 15 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 10 09:01:14 2008 UTC (13 years, 9 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 5308 byte(s)
Diff to previous 12
error message logging repaired


Revision 12 - (view) (download) (annotate) - [select for diffs]
Modified Thu Apr 10 08:24:47 2008 UTC (13 years, 9 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 5304 byte(s)
Diff to previous 11
Keywords expanded


Revision 11 - (view) (download) (annotate) - [select for diffs]
Added Thu Apr 10 08:23:30 2008 UTC (13 years, 9 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir/mkgltempdir
File length: 5304 byte(s)
Migrated from CVS


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28