Home | Contact

Creating a Guest Storage Folder with Auto-Expiry on Synology NAS

Sharing a Network Attached Storage device with friends and family has become a quiet ritual in many Australian homes, particularly when relatives in Melbourne want to swap holiday photos with cousins in Perth or share wedding videos across state lines. A Synology DiskStation running DSM offers a flexible platform for these everyday file exchanges, but leaving guest folders open indefinitely quickly fills up a volume with forgotten uploads, old phone backups, and half-finished project files. The smart approach is to build a dedicated guest storage area that automatically purges itself after a defined window, keeping your main shares clean without manual housekeeping.

This kind of setup suits households where a Synology doubles as a family media hub and a casual drop-box for visiting friends, tradies, or short-term housemates. By combining shared folder permissions with a scheduled task, you can let guests deposit files safely while ensuring nothing lingers past its welcome. It is a lightweight project that even a first-time DSM user in Brisbane or Adelaide can complete in under an hour.

Australian privacy expectations also nudge many users toward self-managed guest folders rather than third-party cloud services. The Australian Privacy Principles and general community sentiment around data sovereignty encourage keeping visitor uploads on local hardware, where the owner retains clear visibility and control. An auto-expiry mechanism reinforces that control, removing content automatically rather than relying on guests to remember what they uploaded.

Finally, this approach pairs well with the realities of the National Broadband Network, where upload speeds in suburban and regional areas can be modest. By having a guest area that cleans itself up, your NAS spends less time syncing old data to backup targets and more time serving current content to your household.

Why Guest Folders Matter on Synology

A dedicated guest folder functions as a sandboxed zone on your Synology, separated from your primary shares like homes, photo, or music. This separation protects your own files from accidental deletion or modification by visitors who log in with temporary credentials. It also allows you to assign storage quotas that stop any single guest from filling your entire array with 4K drone footage from a weekend in Byron Bay.

Beyond simple isolation, a guest folder can carry its own retention policy. Synology's File Station and the underlying Linux cron system allow scheduled scripts that sweep the folder and remove anything older than a chosen threshold. That is where the auto-expiry element enters the picture, turning a passive share into a self-managing inbox.

For households running Plex or Synology Photos, an auto-expiring guest area prevents media libraries from being polluted with duplicates or low-quality rips uploaded by visitors. It also helps maintain predictable disk usage, which matters in regions where power-hungry cooling is already a concern during a Darwin wet season or a heatwave in western Sydney.

Setting Up the Shared Folder in DSM

Open DSM in your browser and launch Control Panel, then navigate to Shared Folder and click Create. Choose a clear, descriptive name such as Guest-Inbox and place it on the volume you want to allocate for transient content. Avoid using Btrfs subvolumes with snapshots for this folder if you plan to remove files aggressively, as retention cycles can conflict with snapshot-based recovery.

When prompted for encryption and file indexing, leave them disabled for the guest folder. These features add overhead that rarely benefits a short-term share and can complicate automated deletion. After the folder is created, head to Control Panel → User & Group and add a new user account reserved exclusively for guests, or use the existing guest account if you have not disabled it.

Grant the guest user read and write access to Guest-Inbox only, denying access to every other shared folder. This is where many Australian administrators slip up, accidentally inheriting permissions from group profiles used by family members in Sydney or colleagues connecting remotely. Always verify the permission matrix under Control Panel → Privileges before proceeding.

Configuring Auto-Expiry with Built-In Tools

DSM includes Synology Calendar, Task Scheduler, and a scriptable shell that together handle auto-expiry elegantly. Open Control Panel → Task Scheduler and create a new Scheduled Task running as root on a daily schedule, ideally during low-activity hours such as 3:00 AM AEST.

Set the user-defined script field to a simple find command targeting the guest folder. For example:

find /volume1/Guest-Inbox -type f -mtime +7 -delete
find /volume1/Guest-Inbox -type d -empty -delete

This script removes any file older than seven days and then cleans up empty subdirectories left behind. Adjust the -mtime value to match your preferred retention window, whether that is three days for casual photo drops or thirty days for project handoffs with a tradie storing site images.

If you prefer a graphical workflow, the third-party package Synology Community Package Hub offers Auto Delete Files with a friendly interface. It integrates with DSM 7 and supports custom rules per folder, which can be useful for multi-guest setups where one visitor from Hobart needs longer retention than another from regional Queensland.

Permissions and Quotas for Visitors

Quota management is where a Synology really shines for guest storage. Under Control Panel → User & Group, edit the guest profile and assign a maximum capacity under the Quota tab. A reasonable starting point for a household in a coastal suburb might be 50 GB per guest, which accommodates a full phone backup or a stack of RAW photos from a weekend in the Grampians.

Remember that quotas apply per user, not per folder. If your household shares one guest account among several friends, the quota will be shared too. For larger families or share houses in inner Melbourne, consider creating individual guest accounts so each person retains their own 50 GB ceiling and their own expiry window.

A short, friendly note in your guests' welcome message explaining the auto-expiry policy is good etiquette. Many Australians appreciate transparency about data handling, especially since high-profile breaches at local service providers have shaped public awareness around digital hygiene. A line such as "Files uploaded here are automatically removed after 7 days" sets clear expectations without sounding bureaucratic.

Scheduling and Monitoring the Cleanup

Once the scheduled task is active, monitor its behaviour through Task Scheduler → Action → Result. The log shows each run, the number of files processed, and any errors that occur. This is helpful when fine-tuning the script, particularly if your Synology runs additional services like Hyper Backup or Active Insight that may compete for resources overnight.

For households with solar power and time-of-use tariffs, scheduling cleanups during the midday solar peak in Perth or Adelaide can reduce reliance on grid electricity. Synology's task scheduler accepts arbitrary cron expressions, so aligning the job with renewable generation is straightforward.

It is worth bookmarking the slow transfer speeds troubleshooting guide for the moments when large guest uploads start choking your network. The same article covers common NBN scenarios and helps distinguish between NAS-side bottlenecks and ISP-side congestion.

Common Pitfalls and Performance Tips

A frequent oversight is excluding the recycle bin from expiry logic. Files deleted by the find command bypass DSM's recycle bin, which means there is no easy recovery if a guest uploads something important by mistake. If you want a safety net, adjust the script to move files to a hidden _pending_purge folder for 24 hours before permanent deletion.

Another trap involves indexing. If Synology's universal search or Synology Photos is configured to crawl Guest-Inbox, expired files may still appear in search results until the index rebuilds. Disable indexing for the guest folder under Control Panel → Indexing Service to keep results clean and reduce background CPU usage.

Heat management matters more in Australia than in cooler climates. A Synology placed in a poorly ventilated garage in Darwin or a tin shed in outback Queensland will throttle during intensive cleanup scripts that touch thousands of small files. Consider scheduling cleanups during cooler overnight hours and ensuring the unit has at least 10 cm of clearance on all sides.

Practical Use Cases for Australian Households

Beyond casual photo sharing, guest folders with auto-expiry serve several domestic scenarios common across the country:

Another creative use involves smart home integration. Some users link their guest folder to a webhook that sends a Telegram or Signal notification each time a new file lands, so the household knows when a delivery driver or relative has dropped something off. Combined with auto-expiry, this creates a lightweight, ephemeral inbox that feels modern without depending on external cloud services.

For businesses operating from home offices in regional centres like Ballarat or Cairns, the same pattern supports short-term contractor exchanges. A consultant can hand off deliverable files that disappear after the engagement closes, leaving no lingering data on the customer's hardware. This is increasingly attractive to small Australian professional services firms that want to honour client confidentiality without investing in full enterprise-grade storage solutions.