Someone at my org was experimenting with repositories and links on the
cobbler server, like:
# ls -ld /var/www/cobbler/repo*
lrwxrwxrwx. 1 root root 34 Mar 19 11:26 repo_mirror ->
/var/www/cobbler/repo_mirror_build/
drwxr-xr-x. 2 root apache 4096 Mar 19 20:07 repo_mirror_build/
drwxr-xr-x. 2 root apache 4096 Mar 19 20:08 repo_mirror_patch/
Unfortunately when I ran a "cobbler sync" it deleted both "real"
directories:
# cobbler sync
task started: 2014-03-19_200751_sync
task started (id=Sync, time=Wed Mar 19 20:07:51 2014)
running pre-sync triggers
cleaning trees
*removing: /var/www/cobbler/repo_mirror_build*
*removing: /var/www/cobbler/repo_mirror_patch*
So of course I'm restoring things -- but in the future, could there
perhaps be a setting that prevents disastrous removal of entire
repositories? Or at the very least, a "README" or something in the
directory that says "DON'T PUT USER DIRECTORIES HERE" or something?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Robert Jacobson Robert.C.Jacobson(a)nasa.gov
Lead System Admin Solar Dynamics Observatory (SDO)
Bldg 14, E222 (301) 286-1591
Show replies by date