Re: Proper permissons on /tmp

2000-11-17 Thread Vallo Kallaste

On Thu, Nov 16, 2000 at 03:18:09PM +, void [EMAIL PROTECTED] wrote:

 I have a similar problem -- every time I make world, perms on /var/mail
 get set to 775.  Mutt considers my mailbox read-only until I change it
 to 1777.  Is there a supported way to locally override BSD.var.dist, or
 do I need to install mutt setgid mail, or what?

Be sure that mutt_dotlock is setgid mail and is a member of group
mail. Just got the same thing yesterday while trying out CVS version
of Mutt.
-- 

Vallo Kallaste
[EMAIL PROTECTED]


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



Re: Proper permissons on /tmp

2000-11-17 Thread Sheldon Hearn



On Thu, 16 Nov 2000 15:18:09 GMT, void wrote:

 I have a similar problem -- every time I make world, perms on /var/mail
 get set to 775.  Mutt considers my mailbox read-only until I change it
 to 1777.  Is there a supported way to locally override BSD.var.dist, or
 do I need to install mutt setgid mail, or what?

You get two answers here.

1) 1777 on /var/mail is bad, bad, bad.  Don't do that.

2) The easiest way to override the permissions and ownerships enforced
   during a make world is to use CVS to update your sources so that your
   local hacks to src/etc/mtree/BSD.*.dist are not overwritten on
   update.

   There are other ways, but the bottom line is that you should find a
   way to ensure that those files are modified to your taste before
   every world update.

Ciao,
Sheldon.


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



Re: Proper permissons on /tmp

2000-11-17 Thread Vallo Kallaste

On Fri, Nov 17, 2000 at 01:52:27PM +0200, Sheldon Hearn [EMAIL PROTECTED] wrote:

  I have a similar problem -- every time I make world, perms on /var/mail
  get set to 775.  Mutt considers my mailbox read-only until I change it
  to 1777.  Is there a supported way to locally override BSD.var.dist, or
  do I need to install mutt setgid mail, or what?
 
 You get two answers here.
[snip]

Don't install mutt setgid mail, the mutt_dotlock external program is
supposed to be setgid mail. This is what it looks like in my system:

  8 -rwxr-xr-x  1 vallo  wheel6740 Nov 16 10:48 flea*
480 -rwxr-xr-x  1 vallo  wheel  460808 Nov 16 10:49 mutt*
  8 -rwxr-sr-x  1 vallo  mail 7288 Nov 16 10:49 mutt_dotlock*
  2 -rwxr-xr-x  1 vallo  wheel  26 Nov 16 10:48 muttbug*
  2 -rwxr-xr-x  1 vallo  wheel 274 Nov 16 10:48 pgpewrap*
 24 -rwxr-xr-x  1 vallo  wheel   22700 Nov 16 10:49 pgpring*
-- 

Vallo Kallaste
[EMAIL PROTECTED]


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



Re: Proper permissons on /tmp

2000-11-16 Thread Thomas Strömberg

Leif Neland wrote:
 
 Something keeps changing permissions on /tmp to 755, which causes pine to
 claim the mailbox is in use by another process.
 This change has occurred a couple of times lately, but I haven't found a
 pattern.
 When I reset the perms to 777, pine works normal again.
 What is the proper perms on /tmp?
 
 Leif
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message

I ran into the same thing a lot on our main intranet server (Solaris
7).. what it ended up being was pretty simple. I used to compile most of
my stuff in /tmp (now I do it in ~/compiling), and sometimes do the bad
thing (relative paths.. enough said) of extracting stuff as root in
/tmp.

Some tarfiles would then extract into . and reset the permissions of . -
for instance, McAfee for UNIX virus updates. The permissions would get
reset to 755. And of course, I'd get tons of user complaints that things
were messing up for them (for instance, uw-imap).

Just wanted to share one possible explanation.. this sure had us fooled
for a few weeks.


-- 
#-#
name thomas r. strombergwork [EMAIL PROTECTED]
pos  senior systems administrator   home [EMAIL PROTECTED]
corp research triangle commerce (icc.net)   web  http://chaotical.ly/
#-#
earth has a lot of things other folks might want, like the whole planet
  -- william s. burroughs


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



Re: Proper permissons on /tmp

2000-11-15 Thread Kris Kennaway

On Thu, Nov 16, 2000 at 06:54:23AM +0100, Leif Neland wrote:

 What is the proper perms on /tmp?

1777

Kris

 PGP signature