messed var directory

Brian McKee brian.mckee at gmail.com
Thu Jun 14 21:01:36 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/06/07, Sven Richter  wrote:
> Hi Folks,
>
> recently i did something very stupid,
> instad of chmodding /var/www/*
> i chmodded /var/* with 0700 recurseviley.
> No i got several problems, i cant search apt database
> as user and so on.
>
> Is there any way i could recover the old permissions?
> Something like an overview about the standard setup?
>

Good one :-)

FWIW chmod 755 everything would be closer than 0700
then /var/lock tmp and crash are 1777 /var/local and mail are 2775

but that's just a dirty surface fix.   Maybe there's some way to coax
the default permissions info out of dpkg?      I'd love to hear
suggestions on this one - I can see me doing it :-)

Brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)
Comment: Verify this email or encrypt your email for free - see gnupg.org
Comment: http://firegpg.tuxfamily.org

iD8DBQFGcayvGnOmb9xIQHQRAsdIAKDMmxBXR8XoHUN0yz9aldLAsIBFjQCfVTxR
IlxIVBhi1SPVHAV+GU2Q3nM=
=YV6K
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list