General questions that do not fit in the above categories

Moderators: ongoto, slax

Re: dead.letter under /

Postby 123grump » Sat Jul 25, 2009 8:12 am

melodie wrote:
don_crissti wrote:
After the first reboot of PClos KDE

You're trying it after the first boot ? Come on melodie... Use the damn thing for at least two weeks and then check your logs... Only then jump to conclusions.



Come on DON..

Your must remember that WE always check the depth of the water with BOTH FEET :lol:
Image
123grump
User avatar
Sr. Member
Sr. Member
 
Posts: 273
Joined: Mon Aug 25, 2008 5:31 am
Location: Central Illinois

Re: dead.letter under /

Postby don_crissti » Sat Jul 25, 2009 8:31 am

Come on DON..

Your must remember that WE always check the depth of the water with BOTH FEET :lol:


:lol: :lol: :lol:
Those who cling to life, die; those who defy death, live.
Uesugi Kenshin
don_crissti
User avatar
Hero Member
Hero Member
 
Posts: 2261
Joined: Thu Nov 15, 2007 2:16 pm

Re: dead.letter under /

Postby melodie » Tue Jul 28, 2009 10:50 am

Hi !

Oh yes ! :lol:

And reboot != boot
melodie
Hero Member
Hero Member
 
Posts: 582
Joined: Mon Jan 07, 2008 8:10 am
Location: France

Re: dead.letter under /

Postby don_crissti » Wed Aug 12, 2009 8:49 am

melodie,

I used this script (as root) to fix those permissions:
Code: Select all
#!/bin/bash

chmod 744 /etc/init.d/{pand,fuse,acpid,harddrake,qemu,sshd,ntpd,haldaemon,bluetooth,cpufreq,xfs,dund,kheader,hidd,messagebus,udev-post,ip6tables,sendmail,anacron,msec,boinc-client,iptables}

chmod 644 /etc/ssh/sshd_config
chmod 2755 /var/spool/mail
chmod 2755 /usr/sbin/sendmail.sendmail

chmod 755 /etc/profile.d/{10lang.csh,90ssh-askpass.sh,10tmpdir.sh,gvfs-bash-completion.sh,90ssh-askpass.csh,90ssh-client.sh,20less.sh,10inputrc.csh,10inputrc.sh,10lang.sh,10tmpdir.csh,20less.csh}
chmod 755 /var/log/samba/cores

for dir in cron daemons gdm kernel lpr mail news; do
    chmod 640 /var/log/$dir/*
done

chmod 640 /var/log/samba/cores/{nmbd,smbd}

You can adapt it to your particular setup. Also, note that /var/log/* stuff will still be created with wrong permissions (at least according to msec) even after running the script. Something in the cron scripts I guess but I have no time to dig deeper...
Those who cling to life, die; those who defy death, live.
Uesugi Kenshin
don_crissti
User avatar
Hero Member
Hero Member
 
Posts: 2261
Joined: Thu Nov 15, 2007 2:16 pm

Re: dead.letter under /

Postby melodie » Fri Sep 18, 2009 1:42 am

don_crissti wrote:melodie,

I used this script (as root) to fix those permissions:
(...)
You can adapt it to your particular setup. Also, note that /var/log/* stuff will still be created with wrong permissions (at least according to msec) even after running the script. Something in the cron scripts I guess but I have no time to dig deeper...


Hello don_crissti,

Thanks a lot, I'll give it a try next. I have an additional question about that : do you think the changes done on the part of the script that don't belong to /var/log will be fixed for long, or that it may change fast again according to whatever will be updated ?

I will have a few more questions, about little weirdies in the Gnome version... I'll open a new thread about that.

Cheers, Mélodie
melodie
Hero Member
Hero Member
 
Posts: 582
Joined: Mon Jan 07, 2008 8:10 am
Location: France

Re: dead.letter under /

Postby don_crissti » Fri Sep 18, 2009 6:12 am

Those files should be fixed for good but still, you should check that yourself, 3-4 weeks after running the script (or fixing the permission manually). Updates might change a few things here and there indeed but as I said, you should keep an eye on this matter and take note of what changes, when and why...
Those who cling to life, die; those who defy death, live.
Uesugi Kenshin
don_crissti
User avatar
Hero Member
Hero Member
 
Posts: 2261
Joined: Thu Nov 15, 2007 2:16 pm

Re: dead.letter under /

Postby melodie » Fri Sep 18, 2009 10:56 am

don_crissti wrote:Those files should be fixed for good but still, you should check that yourself, 3-4 weeks after running the script (or fixing the permission manually). Updates might change a few things here and there indeed but as I said, you should keep an eye on this matter and take note of what changes, when and why...


Hi,

Thanks for all your answers. I fear I wouldn't have time to pursue such precise experiments... life goes on. :)
melodie
Hero Member
Hero Member
 
Posts: 582
Joined: Mon Jan 07, 2008 8:10 am
Location: France

Previous
Forum Statistics

Who is online

Users browsing this forum: No registered users and 1 guest

Options

Return to PCLinuxOS Gnome General