mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
Minor doc update for #9333. Took out the phrasing about os.symlink not
existing and mentioned the OSError possibility.
This commit is contained in:
parent
164540fee1
commit
9624559d12
1 changed files with 9 additions and 6 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue