🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by twigster Thu, 05 Jan 2006 19:11
repairing permissions and password
#73005
Author: twigster
Date: Thu, 05 Jan 2006 19:11
11 lines
1243 bytes
hi,

inncheck -perm

tells me that I have a some files with bad permissions. How do I correct 
  this?

thanks
Alex

Re: repairing permissions and password
#73010
Author: ruud
Date: Thu, 05 Jan 2006 21:40
12 lines
1393 bytes
twigster wrote:

> inncheck -perm
> 
> tells me that I have a some files with bad permissions. How do I correct
>   this?

Can you post the output ?

-- 
Gr. Ruud
http://www.nl-netwerken.com
Re: repairing permissions and password
#73029
Author: twigster
Date: Mon, 09 Jan 2006 11:55
14 lines
1849 bytes
an extract :

/usr/lib/news/bin# ./inncheck -perm
/var/spool/news/archive:0: mode 775, should be 755
/var/spool/news/incoming/bad:0: mode 775, should be 755
/var/spool/news/outgoing:0: mode 775, should be 755
/usr/lib/news/bin/control:0: owned by root, should be news
/usr/lib/news/bin/control:0: in group root, should be news
/var/log/news:0: mode 750, should be 755
/usr/lib/news/bin:0: owned by root, should be news
/usr/lib/news/bin:0: in group root, should be news
...

Alex
Re: repairing permissions and password
#73030
Author: F. Senault
Date: Mon, 09 Jan 2006 12:13
31 lines
2520 bytes
Le 9 janvier 2006 à 12:55, twigster a écrit :

> an extract :
> 
> /usr/lib/news/bin# ./inncheck -perm
> /var/spool/news/archive:0: mode 775, should be 755
> /var/spool/news/incoming/bad:0: mode 775, should be 755
> /var/spool/news/outgoing:0: mode 775, should be 755
> /usr/lib/news/bin/control:0: owned by root, should be news
> /usr/lib/news/bin/control:0: in group root, should be news
> /var/log/news:0: mode 750, should be 755
> /usr/lib/news/bin:0: owned by root, should be news
> /usr/lib/news/bin:0: in group root, should be news
> ...

man 8 inncheck

[...]
       -f     Use  the  ``-f''  flag  to  have  inncheck print the appropriate
              chown/chgrp/chmod command necessary to fix  a  problem  that  it
              reports.

So... if you're feeling courageous, as root (ok, it's the last time you
should use it... :) ), run "inncheck -f | sh"

Fred
-- 
You who thought you had it all          Lost your leaves before the fall
You should have killed me                          You should have tried
                       Armageddon bride, hide, hide
                                                      (K's Choice, Hide)
Re: repairing permissions and password
#73033
Author: F. Senault
Date: Mon, 09 Jan 2006 12:24
33 lines
2567 bytes
(Okay, superseding because I was forgetting stuff...)

Le 9 janvier 2006 à 12:55, twigster a écrit :

> an extract :
> 
> /usr/lib/news/bin# ./inncheck -perm
> /var/spool/news/archive:0: mode 775, should be 755
> /var/spool/news/incoming/bad:0: mode 775, should be 755
> /var/spool/news/outgoing:0: mode 775, should be 755
> /usr/lib/news/bin/control:0: owned by root, should be news
> /usr/lib/news/bin/control:0: in group root, should be news
> /var/log/news:0: mode 750, should be 755
> /usr/lib/news/bin:0: owned by root, should be news
> /usr/lib/news/bin:0: in group root, should be news
> ...

man 8 inncheck

[...]
       -f     Use  the  ``-f''  flag  to  have  inncheck print the appropriate
              chown/chgrp/chmod command necessary to fix  a  problem  that  it
              reports.

So... if you're feeling courageous, as root (ok, it's the last time you
should use it... :) ), run "inncheck -perms -f | sh"

Fred
-- 
You who thought you had it all          Lost your leaves before the fall
You should have killed me                          You should have tried
                       Armageddon bride, hide, hide
                                                      (K's Choice, Hide)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads