Name : perl-File-chmod
| |
Version : 0.42
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp151.1.1
| Date : 2018-12-03 22:17:43
|
Group : Development/Libraries/Perl
| Source RPM : perl-File-chmod-0.42-lp151.1.1.src.rpm
|
Size : 0.05 MB
| |
Packager : (none)
| |
Summary : Implements symbolic and ls chmod modes
|
Description :
File::chmod is a utility that allows you to bypass system calls or bit processing of a file\'s permissions. It overloads the chmod() function with its own that gets an octal mode, a symbolic mode (see below), or an \"ls\" mode (see below). If you wish not to overload chmod(), you can export symchmod() and lschmod(), which take, respectively, a symbolic mode and an \"ls\" mode.
An added feature to version 0.30 is the \'$UMASK\' variable, explained in detail below; if \'symchmod()\' is called and this variable is true, then the function uses the (also new) \'$MASK\' variable (which defaults to \'umask()\') as a mask against the new mode. This mode is on by default, and changes the behavior from what you would expect if you are used to UNIX \'chmod\'. *This may change in the future.*
Symbolic modes are thoroughly described in your chmod(1) man page, but here are a few examples.
chmod(\"+x\",\"file1\",\"file2\"); # overloaded chmod(), that is...
chmod(\"o=,g-w\",\"file1\",\"file2\");
chmod(\"=u\",\"file1\",\"file2\");
\"ls\" modes are the type produced on the left-hand side of an \'ls -l\' on a directory. Examples are:
chmod(\"-rwxr-xr-x\",\"file1\",\"file2\");
chmod(\"-rwsrws---\",\"file1\",\"file2\");
The regular chmod() and lschmod() are absolute; that is, they are not appending to or subtracting from the current file mode. They set it, regardless of what it had been before. symchmod() is useful for allowing the modifying of a file\'s permissions without having to run a system call or determining the file\'s permissions, and then combining that with whatever bits are appropriate. It also operates separately on each file.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Leap_15.1/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(File::chmod)
perl-File-chmod
Requires :