#31912: pathlib PermissionError problem
-------------------------------+--------------------------------------
Reporter: leonyxz | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 3.1
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by tytusd):
**I do confirm that removing "strict=True" parameter from the call to
.resolve() solves the problem - everything works fine again.**
I do have full access to the project folder (the project is located within
subfolders in my home directory - '/home/XYZ/domains/XXX/public_python - I
have full access to all the folders starting from /home/XYZ/).
Also, I also have read and execute access to, for example,
'/usr/local/bin' (where original Python interpreters reside and are copied
from to virtual envs created and located inside of my home directory). But
I do not have any access to '/usr'
{{{
(web) [qcgeo@s39]:<~>$ ls /usr
ls: /usr: Permission denied
(web) [XYZ@s39]:<~>$ ls /usr/local/bin/python*
/usr/local/bin/python /usr/local/bin/python3
/usr/local/bin/python3.6 /usr/local/bin/python3.7m
/usr/local/bin/python-config /usr/local/bin/python3-config
/usr/local/bin/python3.6-config /usr/local/bin/python3.7m-config
/usr/local/bin/python2 /usr/local/bin/python3.5
/usr/local/bin/python3.6m /usr/local/bin/python3.8
/usr/local/bin/python2-config /usr/local/bin/python3.5-config
/usr/local/bin/python3.6m-config /usr/local/bin/python3.8-config
/usr/local/bin/python2.7 /usr/local/bin/python3.5m
/usr/local/bin/python3.7 /usr/local/bin/pythontex
/usr/local/bin/python2.7-config /usr/local/bin/python3.5m-config
/usr/local/bin/python3.7-config
(web) [XYZ@s39]:<~>$
}}}
Replying to [comment:6 Carlton Gibson]:
> OK, let's re-open just to take a look. Still seems like a permission
issue to me, but it's come up twice, so let's double-check.
>
> edeec1247e52de6fc32cee93e96d4ce36003ea4b added the `strict` parameter
(for the password validation case at least). Does removing that solve the
issue?
> (I can't see that the original report can be valid though... —
''surely'' you need permissions to your project folder? 🤔)
>
>
> I'll CC Jon, who made most of the pathlib related updates here.
--
Ticket URL: <https://code.djangoproject.com/ticket/31912#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.c430563f35fb47d20a79149f511e40d8%40djangoproject.com.