Hi All--
[EMAIL PROTECTED] wrote:
>
> I have noticed a bug that if I have a folder open for viewing in
> Windows Explorer with Thumbnail view enabled that I often run into
> inexplicable problems with modify permissions, say when I want to
> rename or delete an item. Changing the view to Detaile
I have noticed a bug that if I have a folder open for viewing in
Windows Explorer with Thumbnail view enabled that I often run into
inexplicable problems with modify permissions, say when I want to
rename or delete an item. Changing the view to Detailed or rebooting
seems to make the issue go away
Thanks, I will go the win32security.SetFileSecurity route. It seems a
pity that I can't use platform independant code to sort this out but I
guess you're saying that I've managed to get my files into a non
standard state that needs non standard code to sort it out. I wonder
how winamp/itunes manage
barney wrote:
> I realise that theses are windows rather than python issues but I would
> expect there would be some reliable way of changing the file
> permissions from within python. I'm updating ID3 tags in MP3 file to
> give some context. If I use something like winamp to make the change to
>
Thanks,
I tried creating a test file but I get "Access is denied" from windows
explorer! The folder appears to be read only but when I try and uncheck
read only/apply/repopen the folder properties its still read only. This
read only flag seems to propagate down from the My Music directory but
unch
Peter Hansen wrote:
>>
>> Why is python returing True from os.access?
>> Why isn't chmod doing anything?
>
> Check your results using os.stat() after doing that, perhaps? If it
> shows the right values for the permissions, then clearly the problem has
> nothing to do with Python per se, or yo
barney wrote (having trouble with a file):
[snip]
> IOError: [Errno 13] Permission denied: "02 - New Year's Day.mp3"
[snip]
> I'm at a loss to understand what is going on.
>
> Why is python returing True from os.access?
> Why isn't chmod doing anything?
Check your results using os.stat() after do
I'm trying to write to an existing file under windows XP (home). The
files are in 'My Music' which I think may be treated in some special
way under XP. The relevant python code is as follows:
os.chdir(dir)
os.chmod(filename, 0744)
print "Okay to write = "+str(os.access(filename, os.W_OK))
afile =