From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,514e91edffa01c5 X-Google-Attributes: gidfee84,public From: Kjell Andresen Subject: Re: /tmp permissions Date: 1999/12/28 Message-ID: #1/1 X-Deja-AN: 565645148 Sender: kjell@beta.uio.no References: Organization: - Newsgroups: comp.unix.osf.osf1 par@sid.mep.ki.se (Par Leijonhufvud) writes: > When running sys_check on an alpha I get "Bad protection on /tmp > drwxrwxrwx" as the only response. But as far as I can tell the that's > the same protection as on two other alphas, both of which run sys_check > fine with no complaints. Any suggestions? # ls -ld /tmp drwxrwxrwt 7 bin bin 8704 Dec 28 13:45 /tmp You need to chmod 1777 /tmp >From "man chmod": t [Digital] Save text permission. ... [Digital] If a directory has this bit set, then deletion in it is restricted. An entry in a sticky directory can be removed or renamed by a user only if the user has write permission for the directory and the user is the owner of the file, the owner of the directory, or the superuser. Kjell Andresen Systems administrator, University of Oslo, Norway Center for Information Technology Services and Department of Geophysics