[HLUG] Permissions

Tom English mr_tom at o2.ie
Fri Jan 6 11:20:31 GMT 2006


The thing about sticking with tuesday as meeting day was put in the wrong email, oops.

It was / and everything underneath it, but I decided to reinstall Slackware last night.

I've read on some things on chmod and the recursive option, and it seems that there is an option (--preverse-root) to stop accidents such as chmod -R 777 * in /, but this is not the default.

I might write a simple script to call chmod with --preverse-root for the future.

Matt - MySQL has always given me permission problems (aswell as sendmail, etc) - part of the fun... :)

Tom.

----- Original Message -----
From: Mark Broadbent <mgjbroadbent at googlemail.com>
Date: Friday, January 6, 2006 9:52 am
Subject: Re: [HLUG] Permissions

> Hi Tom,
> 
> On 05/01/06, Tom English <mr_tom at o2.ie> wrote:
> > Hi all,
> >
> > In trying to set some permissions, I've got lost, and ended up 
> setting / to 777.
> 
> Was that just / or / and everything underneath it?
> 
> > When booting, I get errors about certain files being these 
> permissions, but the odd file is easy to chmod.
> >
> > However, X doesn't work, and I think are some files which need 
> to be 1777 (something to do with TCP??, not sure though).
> 
> Some parts of X require that the setuid bit to be set on some of it
> binaries to allow normal users to access the video card.
> 
> > Is it possible to restore the permissions, or would it just be 
> easier to backup, and re-install?
> 
> It's a backup and reinstall I'm afraid.
> 
> > Sorry wasn't at the meeting, will hopefully be able to get to 
> one soon - I think sticking with tuesday may be the best option.
> 
> Surely you mean Thursday?
> 
> > I'm going to try and attend this months meeting, but cannot 
> guarantee it...
> 
> Next time, try popping an email to the group and we'll try to help you
> set up the permissions you require.
> 
> Cheers
> Mark
> 
> --
> Mark Broadbent
> Herefordshire LUG Master
> 
> * http://www.wetlettuce.com/
> * http://www.herefordshire.lug.org.uk/
> 
> _______________________________________________
> Herefordshire mailing list
> Herefordshire at mailman.lug.org.uk
> http://mailman.lug.org.uk/mailman/listinfo/herefordshire
> 




More information about the Herefordshire mailing list