Page MenuHomePhabricator
Paste P7734

(An Untitled Masterwork)
ActivePublic

Authored by thcipriani on Oct 29 2018, 5:33 PM.
Tags
None
Referenced Files
F26963146:
Oct 29 2018, 5:33 PM
Subscribers
None
[thcipriani@deploy1001 wdqs (master % u=)]$ python
Python 2.7.13 (default, Sep 26 2018, 18:42:22)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.lstat('blazegraph-service-0.3.1-SNAPSHOT.war')
posix.stat_result(st_mode=33204, st_ino=44698721, st_dev=64768, st_nlink=1, st_uid=10977, st_gid=500, st_size=74, st_atime=1540834178, st_mtime=1540834157, st_ctime=1540834157)
>>> stat = os.lstat('blazegraph-service-0.3.1-SNAPSHOT.war')
>>> os.utime('blazegraph-service-0.3.1-SNAPSHOT.war', (stat.st_atime, stat.st_mtime + 1))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 1] Operation not permitted: 'blazegraph-service-0.3.1-SNAPSHOT.war'

Event Timeline

>>> os.utime('blazegraph-service-0.3.1-SNAPSHOT.war', None)                                                                                           
>>> stat = os.lstat('blazegraph-service-0.3.1-SNAPSHOT.war')                                                                                          
>>> os.utime('blazegraph-service-0.3.1-SNAPSHOT.war', (stat.st_atime, stat.st_mtime + 1))                                                             
Traceback (most recent call last):                                                                                                                    
  File "<stdin>", line 1, in <module>
OSError: [Errno 1] Operation not permitted: 'blazegraph-service-0.3.1-SNAPSHOT.war'