Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

symbolicmode-0.2-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file symbolicmode-0.2.tar.gz.

File metadata

  • Download URL: symbolicmode-0.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for symbolicmode-0.2.tar.gz
Algorithm Hash digest
SHA256 4054ee3e6aac8760bdb7bca80ae7b449e22cb9029316d5ac6c7b54f2c21a65e3
MD5 2a1caa88dfa2c3800afdc590971b00b3
BLAKE2b-256 e7b5a96c3215568f021d66d7e3f24e58fcff68bdb2f0f23d4a719ad9f47ce264

See more details on using hashes here.

File details

Details for the file symbolicmode-0.2-py3-none-any.whl.

File metadata

  • Download URL: symbolicmode-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for symbolicmode-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 126dfae27df26ca4e83477c0abaa4a878afc071b1c277eae7d61afa678c5e678
MD5 1b9d3a4e39d628cdc97d964476633384
BLAKE2b-256 131ceceef6cc8bd351338e42640f1e739a7c914db7dca85c28b6b2954c3ed75d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page