2007/7/16, Lars Marowsky-Bree <[EMAIL PROTECTED]>:
On 2007-07-16T16:46:16, Xn Nooby <[EMAIL PROTECTED]> wrote:
> Previously I moved my entire /var partition to another drive, copying it as
> root (I moved it to a bigger physical partition).
That was a mistake, it appears as if you didn't use the "-a" switch on
cp. You've effectively screwed up various permission bits, I dare say.
That is worth repairing - can you go back and copy the /var partition
again, this time with the proper options?
Another option would be:
tar cf - /var | tar -C /new_var -xf -
That's if you still have your old FS at hand... You could restore from
backup, you do have one, right?
Other options are (guessing here):
* If you are running an rpm based linux distro and installed from rpm
packages, you could use
"rpm --setperms package_name" and "rpm --setugids", but that would be
for each packages that have a file on /var
* Suse (not sure about others) has some permissions saved on
/etc/permissions for some system files.
Ciro
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems