Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.6/site-packages/cloudinit/__pycache__/ |
Upload File : |
3 ��b� � @ sj d dl Z d dlZd dlZd dlZd dlZdadZdZddd�Zdd� Z e j dd d ��Zdd� Zd d� Z dS )� Nz/run/cloud-init/tmpz/var/tmp/cloud-initFc C s� | dk r| S |r:t }tjj|�s6tj|� tj|d� |S trBtS tj� dkrTt}ntj j dd�}tjj|�s�tj|� tj|d� |a|S )a% Return the proper 'dir' argument for tempfile functions. When root, cloud-init will use /run/cloud-init/tmp to avoid any cleaning that a distro boot might do on /tmp (such as systemd-tmpfiles-clean). If the caller of this function (mkdtemp or mkstemp) was provided with a 'dir' argument, then that is respected. @param odir: original 'dir' arg to 'mkdtemp' or other. @param needs_exe: Boolean specifying whether or not exe permissions are needed for tempdir. This is needed because /run is mounted noexec. Ni� r ZTMPDIRz/tmp)�_EXE_ROOT_TMPDIR�os�path�isdir�makedirs�chmod�_TMPDIR�getuid�_ROOT_TMPDIR�environ�get)Zodir� needs_exe�tdir� r � /usr/lib/python3.6/temp_utils.py�_tempfile_dir_arg s$ r c sT t | jdd �| jdd��| d<