From: Kjell Andresen <kjell@dod.no>
Subject: Re: /tmp permissions
Date: 1999/12/28 [thread overview]
Message-ID: <u8nk8lz447u.fsf@beta.uio.no> (raw)
In-Reply-To: slrn86h2hc.p34.par@sid.mep.ki.se
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
prev parent reply other threads:[~1999-12-28 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-28 5:00 /tmp permissions Par Leijonhufvud
1999-12-28 5:00 ` Kjell Andresen [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox