Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
    • Ubuntu
    • LTSP
    • HowTo
    • BASH
      • Scripts
        • Bild-O-Mat.sh
        • Create thumbnail
        • Etope-O-Mat.sh
        • Fix file permissions
        • Linux Kernel Benchmark
        • SSH backup
        • connectToVPN.sh
        • copyCd.sh
        • formatCamcard.sh
        • mkBackupMx.sh
        • mkEbook.sh
        • mkHomeBackup.sh
        • mkNewsletterImg.sh
        • runPhotoshop.sh
        • setFileRights.sh
        • sshToHost.sh
      • check_http_access
      • extractEbook.sh
      • fdupes
      • fiXorg.sh
      • getUniqueFirstLetter.sh
      • mkBackup.sh
      • script-server
      • snippets
      • syncHome.sh
      • syncStore.sh
      • syncTs.sh
    • Backtrack
    • CUPS
    • CentOS
    • Debian
    • FreeNX
    • GRML
    • Gnome
    • Grub
    • IpFire
    • Kernel
    • Linux Lite
    • SSH
    • UEFI
    • dban
    • logrotate
    • parted
    • proxy
    • systemd
  • Hardware
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
#!/bin/bash

for DIR in /media/bilder /media/lagerliste /media/projekte /media/texte; do
    echo ${DIR}

    echo "set owner..."
    find ${DIR} \! -user nobody -exec chown nobody {} \;
    find ${DIR} \! -group nogroup -exec chgrp nogroup {} \;
#    chown nobody:nogroup ${DIR} -R

    echo "set directory permissions..."
    find ${DIR} \! -perm 777 -type d -exec chmod 777 {} \;
#    find ${DIR} -type d -exec chmod 777 {} \;

    echo "set file permissions..."
    find ${DIR} \! -perm 666 -type f -exec chmod 666 {} \;
#    find ${DIR} -type f -exec chmod 666 {} \;
done

echo "remove lock files..."
find /media/ -name ".~lock*" -exec rm {} \;

echo "remove backup files..."
find /media/ -name "*~" -exec rm {} \;
Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung