[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Weird /tmp permission/ownership problem

Mario Fabiano wrote:
  >Alexander Stavitsky wrote:
  >> I'm using relatively current hamm.
  >> All of a sudden my /tmp is owned by user 1000, group 1000 permission 755
  >> That led to discovery of unfixed bug with dpkg & dpkg-dev (all their files
  >> are owned by user/group 1000/1000).
  >> But that doesn't explain the mysterious change of ownership/permission of
  >> /tmp. I've changed all incorrect files from dpkg/dpkg-dev to root.root
  >> Shortly after /tmp went back to permission 755 but now without change in
  >> ownership. All of this is really weird.
  >> Has anybody else experienced this?
  >> Also - how can track down the process that changes /tmp permissions?
  >I am using Debian 1.3.1, that I have installed only few days ago.
  >Last friday, meanwhile I was connected to the Net via ppp, the Afterstep WM
  >crashed. No way to restart it.
  >Afterstep writes some kind of information into /tmp. Only some time after I
  >realized that the permissions of /tmp were no longer:
  >    drwxrwxrwt
  >    drwxr-xr-x
  >and Afterstep was no longer able to write into that directory.
  >I have no idea about who or what could have changed the permissions. 

It sounds as if /tmp was deleted and recreated, rather than that its
permissions were changed; that would explain the change in ownership and
permissions; the directory has the ownership of its creator and the 
permissions dictated by the owner's standard umask.

I can't identify the culprit, though...

Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver

PGP key from public servers; key ID 32B8FAA1

Unsolicited email advertisements are not welcome; any person sending
such will be invoiced for telephone time used in downloading together
with a £25 administration charge.

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble?  e-mail to templin@bucknell.edu .

Reply to: