Message7099

Author Nsakala
Recipients Nsakala
Date 2012-05-17.09:25:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337246724.35.0.167906790413.issue1885@psf.upfronthosting.co.za>
In-reply-to
Content
!! Actualy the problem is the same on ufs filesystem
!! It seems that os.chmod do the job (succed to change permission) but
!! return an error

root@django:~# touch /test_ufs/test.out
root@django:~# ls -l /test_ufs/test.out
-rw-r--r--   1 root     root           0 May 17 03:51 /test_ufs/test.out
root@django:~# /opt/jython-2.5.3b1/bin/jython test.py
Traceback (most recent call last):
  File "test.py", line 5, in <module>
    os.chmod(path, mode)
OSError: [Errno 20000] Unknown error: 20000: '/test_ufs/test.out'
root@django:~# ls -l /test_ufs/test.out
-rwxrwxrwx   1 root     root           0 May 17 03:51 /test_ufs/test.out
root@django:~# df -n /test_ufs
/test_ufs           : ufs

!! OS version
root@django:~# uname -a
SunOS django 5.11 11.0 i86pc i386 i86pc
History
Date User Action Args
2012-05-17 09:25:24Nsakalasetmessageid: <1337246724.35.0.167906790413.issue1885@psf.upfronthosting.co.za>
2012-05-17 09:25:24Nsakalasetrecipients: + Nsakala
2012-05-17 09:25:24Nsakalalinkissue1885 messages
2012-05-17 09:25:23Nsakalacreate