Re: Please help,,,execute chmod QR?= o-r / by mistake as a root user.
From: John Wingate (johnww_at_worldpath.net)
Date: 01/14/04
- Previous message: /dev/rob0: "Re: iptables udp and output"
- In reply to: Jacob Heider: "Re: Please help,,,execute chmod –R o-r / by mistake as a root user."
- Next in thread: Nico Kadel-Garcia: "Re: Please help,,,execute chmod -R o-r / by mistake as a root user."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 14 Jan 2004 16:59:31 -0000
Jacob Heider <lord-jacob@comcast.net> wrote:
> On Tue, 13 Jan 2004 23:22:08 +0800, T wrote:
>> Hi
>> I executed chmod -R o-r / by mistake as a root user. Are there any script
>> to restore to those affected files to their default permission ?
>> Please help,
>>
>> Many thanks in advance.
>> T
> Since a reasonable default for any file is for the owner to be able to
> read it, just issuing the reverse command should fix it:
> chmod -R o+r /
"o" does not stand for "owner"--it stands for "other". The letter for
the owner (user) is "u". (Confusing, isn't it?) RTFM.
--
John Wingate Language serves three functions. One is to
johnww@worldpath.net communicate ideas, one is to conceal ideas, and
the third is to conceal the absence of ideas.
--Otto Jespersen
- Previous message: /dev/rob0: "Re: iptables udp and output"
- In reply to: Jacob Heider: "Re: Please help,,,execute chmod –R o-r / by mistake as a root user."
- Next in thread: Nico Kadel-Garcia: "Re: Please help,,,execute chmod -R o-r / by mistake as a root user."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|