⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
cloudinit
/
__pycache__
/
View File Name :
temp_utils.cpython-310.pyc
o }f @ s d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ ee Z dZdZdde fddZdde fd d Zdd Ze jdd dZdde fddZdde fddZdS ) N)utilz/run/cloud-init/tmpz/var/tmp/cloud-initF needs_exec C s2 | d ur| S |r t S t dkrtS tjddS )Nr TMPDIRz/tmp)_EXE_ROOT_TMPDIRosgetuid_ROOT_TMPDIRenvironget)odirr r 6/usr/lib/python3/dist-packages/cloudinit/temp_utils.pyget_tmp_ancestor s r c C sL t | |}tj|st| t|d |r$t|dr$t d| |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. i noexeczDRequested temporal dir with exe permission `%s` is mounted as noexec) r r pathisdirmakedirschmodr has_mount_optLOGwarning)r r tdirr r r _tempfile_dir_arg s r c sD t | d<