Message6816
I am unable to write to files under /sys (sysfs) directory using Jython 2.5.2
When I run the attached "jyproc.py" file, I get
Traceback (most recent call last):
File "jyproc.py", line 4, in <module>
f.write("1")
IOError: [Errno 13] Permission denied: '/sys/block/sdc/device/delete'
...
Same code runs fine under Python 2.7.2.
$ jython -V
Jython 2.5.2
$ java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode) |
|
Date |
User |
Action |
Args |
2012-03-19 09:36:50 | halfie | set | recipients:
+ halfie |
2012-03-19 09:36:50 | halfie | set | messageid: <1332149810.77.0.017291264964.issue1856@psf.upfronthosting.co.za> |
2012-03-19 09:36:50 | halfie | link | issue1856 messages |
2012-03-19 09:36:50 | halfie | create | |
|