Leading 0's syntax error in datetime.date module (Python 3.6)

Gregory Ewing greg.ewing at canterbury.ac.nz
Sat May 12 04:44:29 EDT 2018


Chris Angelico wrote:
> Tack setuid onto "owner", setgid onto "group", and sticky
> onto "others"? Pretty arbitrary, and disrupts the fundamental meaning
> of each set.

Yes, it would be totally silly if e.g. the "ls" command were
to regroup them that way when displaying the permission bits...
oh, wait...

% echo > blarg.txt
% chmod 7777 blarg.txt
% ls -l blarg.txt
-rwsrwsrwt  1 greg  staff  1 12 May 20:40 blarg.txt

-- 
Greg



More information about the Python-list mailing list