Re: When I try to save html pages, nothing happens
- From: Florian Kulzer <florian.kulzer+debian@xxxxxxx>
- Date: Tue, 30 Oct 2007 23:28:53 +0100
On Tue, Oct 30, 2007 at 15:07:23 -0700, tom arnall wrote:
On Tuesday 30 October 2007 14:28, Andrew Sackville-West wrote:
On Tue, Oct 30, 2007 at 02:02:42PM -0700, tom arnall wrote:
when you say 'the rest of /var should be owned by root as well,' do you
mean everything under /var, not just the immediate subdirectories?
andrew@basement:~/src/gnucash$ ls -lR /var/* 2>&1 | awk '/^\// { /
curr_dir=$0 } /^[^\/tl]/ {if ($3!="root") print curr_dir " " $0}' > /
~/non_root_vars
produces the attached output. I think it is what you need, showing
only those things that are *not* root-owned in my /var.
you can ignore /var/run.
hth
A
running:
ls -lR /var/* 2>&1 | awk '/^\// { curr_dir=$0 } /^[^\/tl]/ {if
($3!="root") print curr_dir " " $0}' > ~/non_root_vars
in file 't', i get:
kloro@debian:~$ ./t
./t: line 1: /bin: is a directory
and no 'non_root_vars' in my home.
I would prefer using find for this:
find /var/ -uid +0 -fprintf ~/non_root_vars "%p %M %u %g\n"
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
- Follow-Ups:
- Re: When I try to save html pages, nothing happens
- From: Andrew Sackville-West
- Re: When I try to save html pages, nothing happens
- References:
- When I try to save html pages, nothing happens
- From: tom arnall
- Re: When I try to save html pages, nothing happens
- From: tom arnall
- Re: When I try to save html pages, nothing happens
- From: Andrew Sackville-West
- Re: When I try to save html pages, nothing happens
- From: tom arnall
- When I try to save html pages, nothing happens
- Prev by Date: Re: alsaconf and printing
- Next by Date: Re: Tool to configure sound
- Previous by thread: Re: When I try to save html pages, nothing happens
- Next by thread: Re: When I try to save html pages, nothing happens
- Index(es):
Relevant Pages
|