1826703 Members
2591 Online
109696 Solutions
New Discussion

Re: /var/tmp

 
Eric Jacklin
Regular Advisor

/var/tmp

Hi

How should i overcome to this issue.Since this message is start appearing in syslog from last couple of days


Linker: The directory /var/tmp is not secured. Set the sticky bit, remove other write access, or instruct your users to set the TMPDIR environment variable to a safe path.

The directory /var/tmp is not secured. Set the sticky bit, remove other write access, or instruct your users to set the TMPDIR environment variable to a safe path.
5 REPLIES 5
Sajjad Sahir
Honored Contributor

Re: /var/tmp

data1# getacl /var/tmp
# file: /var/tmp
# owner: root
# group: root
user::rwx
group::rwx
class:rwx
other:rwx

what is u getacl
Sajjad Sahir
Honored Contributor

Re: /var/tmp

pls send us u getacl
Dennis Handly
Acclaimed Contributor

Re: /var/tmp

You should do what the message says.
1) export TMPDIR=/home/XXX
2) chmod o+xt /var/tmp

>sajjad: getacl /var/tmp

It isn't the intention of the message to have you fiddle with ACLs.
Sajjad Sahir
Honored Contributor

Re: /var/tmp

yes u are right dennis thank u once again
sajjad
Eric Jacklin
Regular Advisor

Re: /var/tmp

Thanks