On Tue, May 29, 2018 at 9:47 AM, Steven D'Aprano <st...@pearwood.info> wrote: > On Mon, May 28, 2018 at 10:13:47PM +0100, Barry wrote: >> >> > On 28 May 2018, at 21:23, Giampaolo Rodola' <g.rod...@gmail.com> wrote: > [...] >> > It appears like a common enough use case to me ("chown -R path"). >> > Thoughts? >> >> I wonder if it is very common. >> Don’t you have to be root or use sudo chown? >> In which case it is only python code running as root that could use this. > > Certainly not. You only have to be root to change permissions on files > that you otherwise wouldn't be able to change permissions on. chmod -R > works fine for regular users changing their own files. Why wouldn't it?
That's chmod. The OP asked about chown. ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/