source: xdg-lliurex-dirs/trunk/fuentes/install/usr/share/n4d-client-exe-manager/enabled/homeFixer.sh @ 323

Last change on this file since 323 was 323, checked in by hectorgh, 4 years ago

adding project files

  • Property svn:executable set to *
File size: 371 bytes
Line 
1#!/bin/bash
2
3
4logger -t "SpaceFixer" "Fixing permissions on /home/" || true
5
6if [ -d /home/ ] ; then
7
8        logger -t "SpaceFixer" "Fixing ACLs on /home/" || true
9        setfacl -b /home/ || true
10       
11        logger -t "SpaceFixer" "Fixing permissions on /home/" || true
12        chmod 755 /home/ || true
13       
14        logger -t "SpaceFixer" "Fixing Owner on /home/" || true
15        chown root:root /home/ || true
16fi
17
Note: See TracBrowser for help on using the repository browser.