Skip to content

Commit 995e422

Browse files
PhotoboothPhotobooth
authored andcommitted
fix(i18n,installer): USB sync manual via installer; sudoers comment
Drop committed FAQ/docs and static faq/ changes; GitHub Actions rebuilds the FAQ site on dev. Made-with: Cursor
1 parent c4d1a53 commit 995e422

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install-photobooth.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ EOF
12701270

12711271
function install_usb_sudoers() {
12721272
local sudoers_file="/etc/sudoers.d/021_www-data-usb-sync"
1273-
# Match manual helper scripts/setup-usb-sync.sh (portable paths; some distros use /bin vs /usr/bin).
1273+
# Portable paths: some distros use /bin vs /usr/bin for mount/umount/mkdir.
12741274
cat >"$sudoers_file" <<'EOF'
12751275
# Photobooth USB Sync — passwordless mount/umount/mkdir for www-data (sync-to-drive.js, move2usb).
12761276
# Use together with Polkit rules for udisksctl; this covers sudo fallbacks in the Node scripts.

resources/lang/en.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@
758758
"manual:sound:sound_fallback_enabled": "Use EN sounds as fallback if the current language is not supported yet",
759759
"manual:sound:sound_test": "Play a random test sound",
760760
"manual:sound:sound_voice": "Which voice to use for sounds",
761-
"manual:synctodrive:synctodrive_enabled": "Enable automatic syncing of new pictures to a USB device using rsync. On Linux the web server user (<code>www-data</code>) must be allowed to mount the stick: the Photobooth install wizard can install Polkit rules and passwordless sudo for <code>mount</code>/<code>umount</code> (Permissions → USB Sync policy, or during install via general permissions). You can also run <code>scripts/setup-usb-sync.sh</code> as root after updates. Use a labelled FAT32 or exFAT volume where the label matches the identifier below.",
761+
"manual:synctodrive:synctodrive_enabled": "Enable automatic syncing of new pictures to a USB device using rsync. On Linux the web server user (<code>www-data</code>) must be allowed to mount the stick: run <code>install-photobooth.sh</code> and use Permissions → USB Sync policy (or general permissions during install) to install Polkit rules and passwordless sudo for <code>mount</code>/<code>umount</code>. Run that menu entry again after system updates if you need to re-apply the rules. Use a labelled FAT32 or exFAT volume where the label matches the identifier below.",
762762
"manual:synctodrive:synctodrive_interval": "Seconds between automatic sync attempts (interval while the USB Sync process is running).",
763763
"manual:synctodrive:synctodrive_target": "Pattern to identify the USB device: usually the volume label of the stick (e.g. <code>photobooth</code>), or the block device path (e.g. <code>/dev/sda1</code>) or short name (e.g. <code>sda1</code>). Must match a removable USB device.",
764764
"manual:theme_title": "Use the Themes box to save current theme fields, load another, export a ZIP (config + referenced images), or import that ZIP to install a theme. Import or save will overwrite an existing theme with the same name.",

0 commit comments

Comments
 (0)