Skip to content

Danone89/samba-fix-home-perms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Samba Home Permission Fixer

Samba fix perms is python script for mass changing home's directories permissions. If yours home are stored as /home/%u (where %u is user login) you can use this script to correct file permissions on disk. It's handy when:

  • you moved/migrate homes from source without correct perms.
  • your ldb or idmap got corrupted
  • created new domain with old files

Prerequisites

Python 3.x

Usage

Just copy to directory where you store user direcctories.

when homes root is /home/SAMDOM/login's

cp fixperms.py /home/SAMDOM python fixperms.py

licence

MIT

About

Bulk fix samba permissions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages