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
.. note::
The *SeCreateSymbolicLinkPrivilege* is required in order to create
symlinks, so the function is only available when the privilege is held.
This privilege is not typically granted to regular users but is available
to accounts which can escalate privileges to the administrator level.
Either obtaining the privilege or running your application as an
administrator are ways to successfully create symlinks.
The *SeCreateSymbolicLinkPrivilege* is required in order to successfully
create symlinks. This privilege is not typically granted to regular
users but is available to accounts which can escalate privileges to the
administrator level. Either obtaining the privilege or running your
application as an administrator are ways to successfully create symlinks.
:exc:`OSError` is raised when the function is called by an unprivileged
user.
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