Kaydet (Commit) 9624559d authored tarafından Brian Curtin's avatar Brian Curtin

Minor doc update for #9333. Took out the phrasing about os.symlink not

existing and mentioned the OSError possibility.
üst 164540fe
...@@ -1395,12 +1395,15 @@ Files and Directories ...@@ -1395,12 +1395,15 @@ Files and Directories
.. note:: .. note::
The *SeCreateSymbolicLinkPrivilege* is required in order to create The *SeCreateSymbolicLinkPrivilege* is required in order to successfully
symlinks, so the function is only available when the privilege is held. create symlinks. This privilege is not typically granted to regular
This privilege is not typically granted to regular users but is available users but is available to accounts which can escalate privileges to the
to accounts which can escalate privileges to the administrator level. administrator level. Either obtaining the privilege or running your
Either obtaining the privilege or running your application as an application as an administrator are ways to successfully create symlinks.
administrator are ways to successfully create symlinks.
:exc:`OSError` is raised when the function is called by an unprivileged
user.
Availability: Unix, Windows. Availability: Unix, Windows.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment