Hi,
I have a requirement where I need to check the write permissions on a
directory on Windows platform. I don't want to use the python function
os.access( ), since it does not work correctly on Windows. It is giving
incorrect results to me.
Another option of actually creating a temporary
Some additional information - I am using python 2.5.1 version it
cannot be upgraded now to a higher version.
Thanks
Ayaskant-
From: Ayaskanta Swain
Sent: Friday, August 12, 2011 4:11 PM
To: 'python-list@python.org'
Subject: How to Check Write Access
Hi Tim,
Thanks for the reply and suggestions. I followed the patch provided by
you in issue 2528, but the code looks very tricky to me. Anyways I wrote
my Test.py script tried only the def test_access_w(self): test case
which is defined under class FileTests(unittest.TestCase) by providing
my
Hi All,
Please help me in solving this issue. I want to check the write
permissions on a directory on windows from my python script.
I tried to use os.access(dirpath, os.W_OK) to check whether the user
has write access or not, but it gives me incorrect result. It always
gives me False
Hi All,
Please help me in solving the following issue I am facing while
executing my python script. Basically I am executing the OS specific
move command to move a file/dir from one location to another. I am
executing the 'mv' command on linux the 'move' DOS command on windows
machine from my