zscams 2.0.14__py3-none-any.whl → 2.0.15__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import os
2
+ import shutil
2
3
  from pathlib import Path
3
4
  import sys
4
5
  import subprocess
@@ -37,19 +38,20 @@ def set_directory_ownership_and_permissions(
37
38
 
38
39
  for root, _dirs, files in os.walk(directory_path):
39
40
  if owner_user:
40
- os.chown(root, owner_user)
41
+ shutil.chown(root, owner_user)
42
+
41
43
  if mod:
42
44
  os.chmod(root, mod)
43
45
 
44
46
  for name in files:
45
47
  file_path = os.path.join(root, name)
46
48
  if owner_user:
47
- os.chown(file_path, owner_user)
49
+ shutil.chown(file_path, owner_user)
48
50
  if mod:
49
51
  os.chmod(file_path, mod)
50
52
 
51
53
  if owner_user:
52
- os.chown(directory_path, owner_user)
54
+ shutil.chown(directory_path, owner_user)
53
55
  if mod:
54
56
  os.chmod(directory_path, mod)
55
57
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zscams
3
- Version: 2.0.14
3
+ Version: 2.0.15
4
4
  Summary: Async TLS tunnel client with SNI routing, auto-reconnect, and health checks
5
5
  Author: OCD - Cairo Software Team
6
6
  Maintainer: OCD - Cairo Software Team
@@ -31,11 +31,11 @@ zscams/agent/src/support/logger.py,sha256=cKmCqy2dSOJk7kivs9QPyop7bLa71619ODNylS
31
31
  zscams/agent/src/support/mac.py,sha256=XVKc5YAYLu4a-5VrMhcwgkMNnP2u6itK3cx-Oxnx4IA,453
32
32
  zscams/agent/src/support/network.py,sha256=VwVVNqykZxvrTPwPYQ3sSVMc_Z2XUwASlo_kd_wdGDs,1453
33
33
  zscams/agent/src/support/openssl.py,sha256=jLSv8ajIw1YfNdBhz4KSvNp-cARLXY9-7qdzne9Zca4,3429
34
- zscams/agent/src/support/os.py,sha256=yT9C06o2h-YkJoayyLtFMzdeeY9HZWCl8bnvlUKj3PY,7970
34
+ zscams/agent/src/support/os.py,sha256=0Sr_AIGHjnAmG_7CiZohY3AczIMpObu1yj_m_6oOPs0,7997
35
35
  zscams/agent/src/support/ssh.py,sha256=gH1DVnxuIQj1XO2ILyqmD2bwjXH63QtdwZ7e06_8UqU,855
36
36
  zscams/agent/src/support/yaml.py,sha256=7NXPqj-v_RUif3fLfErNwSUJ-Y-so0GCFZ5aIiU96GQ,1192
37
37
  zscams/deps.py,sha256=9xbpgq77oTch-Nv_99QQtkyO3a96JxqFjUH_2d5zt4Q,3575
38
- zscams-2.0.14.dist-info/METADATA,sha256=QweZC4DGibhljEhtOi-4RsiaUfIwEvJunJvMSAs9QBk,6757
39
- zscams-2.0.14.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
40
- zscams-2.0.14.dist-info/entry_points.txt,sha256=IXiMYjEq4q0tUiD9O7eCWhqKBuOssXrMW42siTBAgG8,47
41
- zscams-2.0.14.dist-info/RECORD,,
38
+ zscams-2.0.15.dist-info/METADATA,sha256=ECHwbjTmDamE9EeAYWabnwqmgk2gfA2LUdv9goVBJsY,6757
39
+ zscams-2.0.15.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
40
+ zscams-2.0.15.dist-info/entry_points.txt,sha256=IXiMYjEq4q0tUiD9O7eCWhqKBuOssXrMW42siTBAgG8,47
41
+ zscams-2.0.15.dist-info/RECORD,,