RoySmith added a comment.
@Urbanecm My understanding of +x for directories is that it it allows the
directory to be used as part of a pathname (i.e. translating the path into an
inode). Which effectively means you can't access the files in it. The fact
that you can't cd into a directory is just a side-effect of that.
This can lead to bizarre behavior such as being able to do shell expansion on
filenames in the directory, but not actually be able to access those files,
because the shell expansion only relies on read permission on the directory:
$ ls -ld .pywikibot/
drw---S--- 3 tools.dyk-tools tools.dyk-tools 4096 Oct 11 23:54 .pywikibot/
$ cat .pywikibot/user-config.py <-- I typed ".pywikibot/u<tab>" and got
this
cat: .pywikibot/user-config.py: Permission denied
The bottom line is, yes, the .pywikibot directory should be executable.
TASK DETAIL
https://phabricator.wikimedia.org/T315045
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: RoySmith
Cc: Urbanecm, RoySmith, Framawiki, Xqt, Aklapper, Platonides,
pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra,
Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa,
Altostratus, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]