[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/VFS - IPosixFileSystem.py:1.1.2.1
Stephan Richter
srichter@cbu.edu
Tue, 9 Apr 2002 13:02:57 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/Server/VFS
In directory cvs.zope.org:/tmp/cvs-serv19629/Server/VFS
Added Files:
Tag: Zope3-Server-Branch
IPosixFileSystem.py
Log Message:
Hihi, without these files my checkins won't make much sense. :)
=== Added File Zope3/lib/python/Zope/Server/VFS/IPosixFileSystem.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
#
##############################################################################
"""
$Id: IPosixFileSystem.py,v 1.1.2.1 2002/04/09 17:02:56 srichter Exp $
"""
from IWriteFileSystem import IWriteFileSystem
from IReadFileSystem import IReadFileSystem
class IPosixFileSystem(IWriteFileSystem, IReadFileSystem):
"""
"""
def chmod(path, mode):
"""Change the access permissions of a file.
"""
def chown(path, uid, gid):
"""Change the owner and group id of path to numeric uid and gid.
"""
def link(src, dst):
"""Create a heard link to a file.
"""
def mkfifo(path, mode=777):
"""Create a FIFO (a POSIX named pipe).
"""
def symlink(src, dst):
"""Create a symbolic link at dst pointing to src.
"""