�
���_c @@ s3 d Z d d l m Z d d l Td d l Z d d l Z e j e Z e j
j d � d k s� xB e e � D]1 Z
e e e
� sj e e e
e e e
� � qj qj Wn d d l m Z e e j e d <[ [ [ d � Z d
� Z d � Z d � Z d
� Z d � Z d � Z d � Z d � Z d � Z d � Z d S( s�
This compat modules is a wrapper of the core os module that forbids usage of specific operations
(e.g. chown, chmod, getuid) that would be harmful to the Windows file security model of Certbot.
This module is intended to replace standard os module throughout certbot projects (except acme).
This module has the same API as the os module in the Python standard library
except for the functions defined below.
i ( t absolute_import( t *Nt CERTBOT_DOCSt 1( t _paths .pathc O@ s t d � � d S( s Method os.chmod() is forbiddensP Usage of os.chmod() is forbidden. Use certbot.compat.filesystem.chmod() instead.N( t RuntimeError( t unused_argst
unused_kwargs( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt chmod; s c O@ s t d � � d S( s Method os.chmod() is forbiddensP Usage of os.umask() is forbidden. Use certbot.compat.filesystem.umask() instead.N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt umaskE s c O@ s t d � � d S( s Method os.chown() is forbiddensg Usage of os.chown() is forbidden.Use certbot.compat.filesystem.copy_ownership_and_apply_mode() instead.N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt chownN s c O@ s t d � � d S( s Method os.open() is forbiddensN Usage of os.open() is forbidden. Use certbot.compat.filesystem.open() instead.N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt openY s c O@ s t d � � d S( s Method os.mkdir() is forbiddensP Usage of os.mkdir() is forbidden. Use certbot.compat.filesystem.mkdir() instead.N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt mkdira s c O@ s t d � � d S( s! Method os.makedirs() is forbiddensV Usage of os.makedirs() is forbidden. Use certbot.compat.filesystem.makedirs() instead.N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt makedirsl s c O@ s t d � � d S( s Method os.rename() is forbiddensS Usage of os.rename() is forbidden. Use certbot.compat.filesystem.replace() instead.N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt renamet s c O@ s t d � � d S( s Method os.replace() is forbiddensT Usage of os.replace() is forbidden. Use certbot.compat.filesystem.replace() instead.N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt replace| s c O@ s t d � � d S( s Method os.access() is forbiddens� Usage of os.access() is forbidden. Use certbot.compat.filesystem.check_mode() or certbot.compat.filesystem.is_executable() instead.N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt access� s c O@ s t d � � d S( s Method os.stat() is forbiddens Usage of os.stat() is forbidden. Use certbot.compat.filesystem functions instead (eg. has_min_permissions, has_same_ownership).N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt stat� s c O@ s t d � � d S( s Method os.stat() is forbiddens� Usage of os.fstat() is forbidden. Use certbot.compat.filesystem functions instead (eg. has_min_permissions, has_same_ownership).N( R ( R R ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt fstat� s ( t __doc__t
__future__R t ost std_ost syst std_syst modulest __name__t ourselvest environt gett dirt attributet hasattrt setattrt getattrt certbot.compatR t pathR R R
R R R
R R R R R ( ( ( s5 /usr/lib/python2.7/site-packages/certbot/compat/os.pyt <module> s.
#
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]