RE: permissions issue help ?!?!

2003-01-07 Thread John Brooks
you need to stop and restart mysql

usually:
  /usr/local/etc/rd.d/mysql-server.sh stop
  /usr/local/etc/rd.d/mysql-server.sh start

ymmv

--
John Brooks
[EMAIL PROTECTED] 

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Brent Bailey
> Sent: Tuesday, January 07, 2003 12:27 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: permissions issue help ?!?!
> 
> 
> Awesomethanx for your help... i have one other one for ya 
> ...if your
> up to it ..
> for whatever reason ...a file that was in the /tmp dir is 
> missing its a
> file that mysql used called "mysql.sock="   it had permissions like
> srwxrwxrwx  mysql wheelmysql.sock=
> 
> any thoughts ??
> Im sure i need this for mysql to work...i would hate to have 
> to reinstall
> mysql,,,Thanx again for you help,
> Brent
> 
> 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: permissions issue help ?!?!

2003-01-07 Thread Hari Bhaskaran
On Tue, Jan 07, 2003 at 01:27:05PM -0500, Brent Bailey wrote:
> Awesomethanx for your help... i have one other one for ya ...if your
> up to it ..
> for whatever reason ...a file that was in the /tmp dir is missing its a
> file that mysql used called "mysql.sock="   it had permissions like
> srwxrwxrwx  mysql wheelmysql.sock=
> 
> any thoughts ??
> Im sure i need this for mysql to work...i would hate to have to reinstall
> mysql,,,Thanx again for you help,

It is created by mysql when you start mysql. You just have to run/start mysql
server again 

> Brent
> 
> > On Tue, 7 Jan 2003 13:03:10 -0500 (EST)
> > Brent Bailey <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >
> >> I have another FBSD box thats working fine ..and the permissions on
> >> its/tmp dir are:drwxrwxrwt   root  wheel  /tmp
> >>
> >> now to restore the permissions on the broken box ..i did
> >> #chmod 777 /tmp
> >
> > What you want is chmod 1777 /tmp
> >
> >> however im not sure how to get the "t"  on the permissions back (im
> >> not even sure what the "t" means)
> >
> > t is the sticky bit, it means that files and directories created inside
> > /tmp are owned by whoever creates them. See man 8 sticky for detailed
> > info.
> >
> > Cheers,
> > --
> >Miguel Mendez - [EMAIL PROTECTED]
> >GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
> >EnergyHQ :: http://www.energyhq.tk
> >Of course it runs NetBSD!
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: permissions issue help ?!?!

2003-01-07 Thread Brent Bailey
ehhehe   i hear ya ...  its all good   I appreciate your help much

Brent
> On Tue, 7 Jan 2003 18:52:19 +0100
> Miguel Mendez <[EMAIL PROTECTED]> wrote:
>
>
>> t is the sticky bit, it means that files and directories created
>> inside/tmp are owned by whoever creates them. See man 8 sticky for
>> detailed info.
>
> I've realized just after pressing send that this is not what I meant to
> say, but the man page explains it in detail.
>
> /me loads coffee :)
>
> Cheers,
> --
>Miguel Mendez - [EMAIL PROTECTED]
>GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
>EnergyHQ :: http://www.energyhq.tk
>Of course it runs NetBSD!




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: permissions issue help ?!?!

2003-01-07 Thread Mark
- Original Message - 
From: "Brent Bailey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 07, 2003 7:03 PM
Subject: permissions issue help ?!?!


> however im not sure how to get the "t"  on the permissions back

chmod 1777

There, all done. :)

> (im not even sure what the "t" means)

It is the "sticky" bit; see "man chmod".

- Mark

System Administrator Asarian-host.org

---
"If you were supposed to understand it,
we wouldn't call it code." - FedEx


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: permissions issue help ?!?!

2003-01-07 Thread Brent Bailey
Awesomethanx for your help... i have one other one for ya ...if your
up to it ..
for whatever reason ...a file that was in the /tmp dir is missing its a
file that mysql used called "mysql.sock="   it had permissions like
srwxrwxrwx  mysql wheelmysql.sock=

any thoughts ??
Im sure i need this for mysql to work...i would hate to have to reinstall
mysql,,,Thanx again for you help,
Brent

> On Tue, 7 Jan 2003 13:03:10 -0500 (EST)
> Brent Bailey <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>
>> I have another FBSD box thats working fine ..and the permissions on
>> its/tmp dir are:drwxrwxrwt   root  wheel  /tmp
>>
>> now to restore the permissions on the broken box ..i did
>> #chmod 777 /tmp
>
> What you want is chmod 1777 /tmp
>
>> however im not sure how to get the "t"  on the permissions back (im
>> not even sure what the "t" means)
>
> t is the sticky bit, it means that files and directories created inside
> /tmp are owned by whoever creates them. See man 8 sticky for detailed
> info.
>
> Cheers,
> --
>Miguel Mendez - [EMAIL PROTECTED]
>GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
>EnergyHQ :: http://www.energyhq.tk
>Of course it runs NetBSD!




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: permissions issue help ?!?!

2003-01-07 Thread Andrew Prewett
Today Brent Bailey wrote:

> Hello,  Im using FBSD 4.6 R i recently installed something  (i dont
> know what ) that changed the permissions on my /tmp  directory.making
> things like mysql & php and other programs not function correctly.
>
> as things are now on the broken box the permissions are:
> drwx--  root  wheel  /tmp
>
> I have another FBSD box thats working fine ..and the permissions on its
> /tmp dir are:drwxrwxrwt   root  wheel  /tmp
>
> now to restore the permissions on the broken box ..i did
> #chmod 777 /tmp

>
> however im not sure how to get the "t"  on the permissions back (im not
> even sure what the "t" means)

it's a sticky bit

in a directory with the `sticky bit' set, only the file owner and the user
(process) with root privileges can unlink the file.

> Can anyone tell me how to get the permissions back to:
> drwxrwxrwt   root  wheel  /tmp???

chmod 41777 /tmp

-andrew


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



Re: permissions issue help ?!?!

2003-01-07 Thread Miguel Mendez
On Tue, 7 Jan 2003 18:52:19 +0100
Miguel Mendez <[EMAIL PROTECTED]> wrote:


> t is the sticky bit, it means that files and directories created
> inside/tmp are owned by whoever creates them. See man 8 sticky for
> detailed info.

I've realized just after pressing send that this is not what I meant to
say, but the man page explains it in detail.

/me loads coffee :)
 
Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg14588/pgp0.pgp
Description: PGP signature


Re: permissions issue help ?!?!

2003-01-07 Thread Miguel Mendez
On Tue, 7 Jan 2003 13:03:10 -0500 (EST)
Brent Bailey <[EMAIL PROTECTED]> wrote:

Hi,


> I have another FBSD box thats working fine ..and the permissions on
> its/tmp dir are:drwxrwxrwt   root  wheel  /tmp
> 
> now to restore the permissions on the broken box ..i did
> #chmod 777 /tmp

What you want is chmod 1777 /tmp
 
> however im not sure how to get the "t"  on the permissions back (im
> not even sure what the "t" means)

t is the sticky bit, it means that files and directories created inside
/tmp are owned by whoever creates them. See man 8 sticky for detailed info.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
Of course it runs NetBSD!



msg14587/pgp0.pgp
Description: PGP signature


permissions issue help ?!?!

2003-01-07 Thread Brent Bailey
Hello,  Im using FBSD 4.6 R i recently installed something  (i dont
know what ) that changed the permissions on my /tmp  directory.making things like 
mysql & php and other programs not function correctly.

as things are now on the broken box the permissions are:
drwx--  root  wheel  /tmp

I have another FBSD box thats working fine ..and the permissions on its
/tmp dir are:drwxrwxrwt   root  wheel  /tmp

now to restore the permissions on the broken box ..i did
#chmod 777 /tmp

however im not sure how to get the "t"  on the permissions back (im not
even sure what the "t" means)
Can anyone tell me how to get the permissions back to:
drwxrwxrwt   root  wheel  /tmp???

any and all help is very appreciated..
Thank you in advance...
Brent





To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message