[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Deleting a user deleted the site!!!



> OMG...all I can say is that is a serious, serious flaw. And so far,
> it's the only logical explanation.....

I don't believe it's a flaw whatsoever.
When you delete a user through the GUI, it tells you plainly (at least
on my RaQ4) that *all user files* will be deleted.
If you are deleting a user, it makes perfect sense that you'd want to
delete their files as well. Why keep them around if you're getting rid
of the user? They'd just clutter up the machine.

All of my /web directories are chowned by 'nobody'. The only way that
this could change is if someone was in the root directory and did a
chown <username> web, or chown <username> *.

Unless things are different on your RaQ, and /web is owned by the
siteadmin (I don't see how it could be, because you make the site
before you make the siteadmin), then the reason that /web disappeared
when you deleted the user is because someone on your machine on a
command line got goofy with the chown command.

In which case, it's still not a flaw, it's a product of some human's
error.  ;)
(Not the we see many of those around here, ya know... hehe)

All I can say is, I hope either you or the user had a backup. If not,
time to start backing up each of your sites at least weekly - so this
doesn't happen again (losing the site's contents, that is)... and next
time, before deleting a user, check the site to make sure that they
don't own any of the actual site files (or directories).

CarrieB