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.

Copy files using terminal and permissions

Featured Replies

Ok, i have a VBS file that uses a command-line telnet program to do certain things on my server.

 

One function is i can drag a folder from a specific location and it will shoot a telnet command at my server to run a copy (cp) command.

 

I have recently update to 5-RC2/3 and i appear to need to run the fix permissions script to be able to access them when i copy.

 

Should i be using a different command? or is there a switch/option to set the permissions as a copy?

 

The command im using at the moment is "cp -r Folderpath Destination"

 

(before you ask, the idea is to move files/folders internally without having to transfer them across my network...sometimes many GB and that would suck over wireless!)

I use Midnight Commander, "mc" at the telnet prompt and it will keep all attributes when moving files

  • 3 months later...

I just used midnight commander to transfer files from disk1 to disk2 on my unRAID however now when I go to access the contents on disk2 it says I don't have permission.  Any idea why that would be?

Yes... that is because you most probably logged on with a root account... After you copy files with MC you need to run the permissions script... Alternatively you should copy over windows, then this will not be necessary..

 

Personally I have made two cron jobs that run the permissions on a weekly basis over all my files and on one dir I move around a lot in every day ..

Yeah that's what it was.  I went to the new permissions page and ran that script and it worked perfectly.  Thanks for the advice. 

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.