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

Re: setup distribution (default) file permissions back for /

Varga Pavol wrote:
a few minutes ago I by mistake changed all file permissions in /var directory
recursively as a root.
Is there any quick solution how to take it back?

[root@sofia /var/www/dir] # chown -R www-data:www-data /*

The "/" was typed by a mistake - "/" is next to Shift button on the keyboard! :-(

BTW: In Mandriva there is utility (msec) which was very usable in this case, but
this box is Sarge.

Many thanks for any help.

use getfacl / setfacl with permissions from another sarge box

Reply to: