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.1.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for symbolicmode-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d71157b851b85b0b84e49c74671ba87b7d17ef22703ecb7085ddeed1bcce28f |
|
MD5 | d7d9198b655978e17d639d7b682a2449 |
|
BLAKE2b-256 | 6e388d8392b8fd26547979db1a388beb79b94c49ba5278476522dd58757e640a |