Code to handle symbolic permissions like GNU chmod does ('a=rx,u+w')
Project description
SymbolicMode -- Code to handle symbolic file permissions
This python library parses symbolic file permission modes as used by GNU chmod, part of the coreutils package. For example:
>>> from symbolicmode import *
>>> oct(symbolic_to_numeric_permissions('a=rx,u+w'))
'0o755'
License
CC0 1.0 Universal, see LICENSE file for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
symbolicmode-0.2.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for symbolicmode-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 126dfae27df26ca4e83477c0abaa4a878afc071b1c277eae7d61afa678c5e678 |
|
MD5 | 1b9d3a4e39d628cdc97d964476633384 |
|
BLAKE2b-256 | 131ceceef6cc8bd351338e42640f1e739a7c914db7dca85c28b6b2954c3ed75d |