Sorry, I mean "1.1.1.1\\sharedfolder"
Seems os.chmod(), os.access() and os.makedirs() all have this problem when
the path is a remote path.
2010/7/5 Thomas Jollans
> On 07/05/2010 04:19 PM, 朱重八 wrote:
> > Hi all,
> > I want to use os.chmod or os.access to check the permission of a
> > f
On 07/05/2010 04:19 PM, 朱重八 wrote:
> Hi all,
> I want to use os.chmod or os.access to check the permission of a
> folder on remote Windows computer:
> os.chmod("\\1.1.1.1\sharedfolder", stat.S_IWRITE)
> or
> os.access("\\1.1.1.1\sharedfolder", os.W_OK)
That won't work:
>>> print("\\1.1.1.1\sh
Hi all,
I want to use os.chmod or os.access to check the permission of a folder
on remote Windows computer:
os.chmod("\\1.1.1.1\sharedfolder", stat.S_IWRITE)
or
os.access("\\1.1.1.1\sharedfolder", os.W_OK)
I saved this python file as a.pyw, run it with pythonw.exe a.pyw, then a
black console w