Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to correctly set permissions on files sync'd from seedbox with lftp?

Featured Replies

I have a seedbox and I sync files from it to my local unraid server using LFTP.

 

However, when it gets sync'd over, the permissions are wrong:

 

Folders: root:root with 775

Files: root:root with 664

 

To sync the files, I have a script that runs every 10 mins with cron (using Flock to protect against long file transfers).

 

What's the right way to solve this so the ownership and permission are set correctly?

 

 

I can see two possible solutions.

 

Either add

chown

and

chmod

commands to your script to make the ownership and permissions of the files it processes what you want them to be, or run the script as the required user instead of as root.

 

I'd say the latter is the preferred route. Any user can have a crontab file, not just root. It's documented here and here and it works with a general Linux distribution, though I've never done it with unRAID.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.