EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
Latest Source Code (3.4, 3.3) | Revision Log | Before editing this page please read Pod2Wiki
EPrints::System::MSWin32 - Wrappers for MS Windows 32 system calls.
This class provides MS Windows 32 specific system calls required by EPrints.
This class inherits from EPrints::System.
Perform any platform-specific initilisation is not required on MS Windows 32 systems.
$sys->chmod( $mode, @files )
Changing the access control for @files is not possible on MS Windows 32 systems.
$sys->chown( $uid, $gid, @files )
Changing the user/group ownership on @files is not possible on MS Windows 32 systems.
$sys->chown_for_eprints( @files )
Changing the user/group ownership on @files to the current EPrints user is not possible on MS Windows 32 systems.
$gid = $sys->getgrnam( $group )
Getting the group name for $group is not possible on MS Windows 32 systems.
($user, $crypt, $uid, $gid ) = $sys->getpwnam( $user )
Getting the login name, password crypt, UID and GID for user $user is not possible on MS Windows 32 systems.
Testing whether the current user is the same that is configured in EPrints::SystemSettings is not possible on MS Windows 32 systems.
$sys->free_space( $dir )
Returns the amount of free space (in bytes) available at $dir. As this is a MS Windows 32 system $dir may contain a drive (e.g. C:).
$bool = $sys->proc_exists( $pid )
Returns true if a process exists for ID with $pid or access is denied to the process, implying it must exist.
Returns false otherwise.
$sys->mkdir( $full_path, $perms )
Create a directory $full_path (including parent directories as necessary) set permissions described by $perms. If $perms is undefined defaults to dir_perms in EPrints::SystemSettings.
$quoted = $sys->quotemeta( $path )
Quote $path so it is safe to be used in a shell call.
© Copyright 2022 University of Southampton.
EPrints 3.4 is supplied by EPrints Services.
This file is part of EPrints 3.4 http://www.eprints.org/.
EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.
EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.