/[pdpsoft]/trunk/grid-mw-security/glexec/util/mkgltempdir
ViewVC logotype

Log of /trunk/grid-mw-security/glexec/util/mkgltempdir

View Directory Listing Directory Listing


Sticky Revision:
(Current path doesn't exist after revision 2469)

Revision 2206 - Directory Listing
Modified Thu Feb 24 13:39:43 2011 UTC (11 years, 5 months ago) by msalle
Removing /opt/glite -> /usr


Revision 2066 - Directory Listing
Modified Thu Oct 28 09:02:59 2010 UTC (11 years, 9 months ago) by msalle
-V option should be lower case in help...


Revision 2065 - Directory Listing
Modified Thu Oct 28 09:01:57 2010 UTC (11 years, 9 months ago) by msalle
- 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 - Directory Listing
Modified Tue Sep 21 14:33:24 2010 UTC (11 years, 10 months ago) by msalle
Make sure also TMPDIR is accessible for the target user.



Revision 1927 - Directory Listing
Modified Tue Sep 21 13:54:45 2010 UTC (11 years, 10 months ago) by msalle
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 - Directory Listing
Modified Tue Sep 21 13:22:27 2010 UTC (11 years, 10 months ago) by msalle
- 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 - Directory Listing
Modified Wed Jul 7 14:44:31 2010 UTC (12 years, 1 month ago) by msalle
Updating license & copyright


Revision 31 - Directory Listing
Modified Fri Dec 19 08:18:56 2008 UTC (13 years, 7 months ago) by davidg
Created convention


Revision 16 - Directory Listing
Modified Fri Apr 11 01:46:16 2008 UTC (14 years, 4 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir
Escaped the TMPDIR in the hel text


Revision 15 - Directory Listing
Modified Thu Apr 10 09:01:14 2008 UTC (14 years, 4 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir
error message logging repaired


Revision 14 - Directory Listing
Modified Thu Apr 10 08:41:26 2008 UTC (14 years, 4 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir
Added


Revision 13 - Directory Listing
Modified Thu Apr 10 08:28:40 2008 UTC (14 years, 4 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir
test


Revision 12 - Directory Listing
Modified Thu Apr 10 08:24:47 2008 UTC (14 years, 4 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir
Keywords expanded


Revision 11 - Directory Listing
Added Thu Apr 10 08:23:30 2008 UTC (14 years, 4 months ago) by davidg
Original Path: grid-mw-security/glexec/util/mkgltempdir
Migrated from CVS


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