[ python-Bugs-1767242 ] os.chmod failure
SourceForge.net
noreply at sourceforge.net
Fri Aug 3 22:25:45 CEST 2007
Bugs item #1767242, was opened at 2007-08-03 18:02
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1767242&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Richard Heck (rgheck)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.chmod failure
Initial Comment:
When running on Linux and accessing a FAT partition, os.chmod fails with otherwise sensible partitions:
>>> os.chmod("/media/IHP-100/Test.lyx", 400)
>>> os.chmod("/media/IHP-100/Test.lyx", 600)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
OSError: [Errno 1] Operation not permitted: '/media/IHP-100/Test.lyx'
The only thing that seems to be allowed is `4'.
----------------------------------------------------------------------
>Comment By: Georg Brandl (gbrandl)
Date: 2007-08-03 20:25
Message:
Logged In: YES
user_id=849994
Originator: NO
Why do you think this is Python's fault? os.chmod() is only a very thin
wrapper around the OS' chmod().
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1767242&group_id=5470
More information about the Python-bugs-list
mailing list