fcust-1.0.0
توضیحات
Linux Common Folder Custodian
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fcust-1.0.0 |
| نام | fcust |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Nikolaos Perrakis |
| ایمیل نویسنده | nikperrakis@gmail.com |
| آدرس صفحه اصلی | https://github.com/Iolaum/fcust |
| آدرس اینترنتی | https://pypi.org/project/fcust/ |
| مجوز | GNU General Public License v3 |
================
Folder Custodian
================
.. image:: https://img.shields.io/pypi/v/fcust.svg
:target: https://pypi.python.org/pypi/fcust
.. image:: https://github.com/Iolaum/fcust/workflows/CI/badge.svg
:target: https://github.com/Iolaum/fcust/actions
.. image:: https://readthedocs.org/projects/fcust/badge/?version=latest
:target: https://fcust.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://pyup.io/repos/github/Iolaum/fcust/shield.svg
:target: https://pyup.io/repos/github/Iolaum/fcust/
:alt: Updates
Linux Common Folder Custodian
* Free software: GNU General Public License v3
* Documentation: `Read the Docs`_
.. _`Read the Docs`: https://fcust.readthedocs.io
Why?
----
The family computer runs Fedora, has many users and we want to share some files with each other.
To achive this we create a shared common folder.
This package solves the problems that come with our use case.
Features
--------
This package is intended to perform maintenance over a folder shared across many users in a Fedora Workstation.
The folder should belong to a group for which all users are members.
* Go through a folder's content and enforce common group ownership.
* Go through a folder's content and enforce common group read and write permissions as
well as set groupid sticky bit.
* Provide a command line command with sane defaults for enforcing common folder group ownership
and permissions.
* Write logs to ``/tmp/fcust/$USER.log``.
* Provides user systemd service to periodically enforce common folder group ownership
and permissions. Runs on user log out.
The key problem this package intends to solve is that files moved from one location to another do not inherit
proper permissions in the commonly used folder and therefore when another user tries to access them they encounter
problems.
Quick Start Guide
-----------------
- Install fcust::
$ sudo dnf copr enable iolaum/fcust
$ sudo dnf install fcust
- Manually create a common group and add as members the users that will have access to it.
For example::
$ sudo groupadd family
$ sudo usermod -a -G family user1
$ sudo usermod -a -G family user1
- Create that folder and assign proper permissions::
$ mkdir /path/to/common/folder/
$ chown :family /path/to/common/folder/
$ chmod 2775 /path/to/common/folder/
- Setup fcust::
$ fcust setup /path/to/common/folder/
$ fcust activate
- In order to run fcust manually on a properly permissioned common folder run::
$ fcust run /path/to/common/folder/
=======
History
=======
1.0.0 (2020-11-21)
-------------------
* Updated package for Fedora 35.
* Releasing production version.
0.1.1 (2020-11-22)
-------------------
* Added ability to see recent service logs.
* Releasing beta version of feature complete package.
0.0.14 (2020-11-10)
-------------------
* Adding functionality to create, start and stop systemd user service
0.0.10 (2020-11-07)
-------------------
* F33 release
* Minor Documentation update
0.0.9 (2020-10-13)
------------------
* Hotfixed log access path bug
0.0.8 (2020-10-10)
------------------
* Draft packaging as a fedora 32 rpm package
0.0.5 (2020-10-07)
------------------
* Added command line command for folder contents permission enformcement
* Added documentation
0.0.3 (2020-10-05)
------------------
* Alpha version with common folder enformcement functionality.
نیازمندی
| مقدار | نام |
|---|---|
| >=7.1 | Click |
| - | pip |
| >=1.0 | bump2version |
| - | wheel |
| - | Sphinx |
| - | twine |
| - | check-manifest |
| - | pytest |
| - | pytest-runner |
| - | mock |
| - | flake8 |
| - | black |
| - | mypy |
| - | coverage |
| - | yamllint |
| - | doc8 |
| - | pluggy |
| ==0.17 | docutils |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl fcust-1.0.0:
pip install fcust-1.0.0.whl
نصب پکیج tar.gz fcust-1.0.0:
pip install fcust-1.0.0.tar.gz