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.

Where is the root users PATH set?

Featured Replies

I am trying to run a find command with the -execdir option. However, -execdir gives this warning: 

 

find: The current directory is included in the PATH environment variable, which is insecure in combination with the -execdir action of find.  Please remove the current directory from your $PATH (that is, remove "." or leading or trailing colons)

 

I read up on that and understand the problem, but I am not sure how to remove "." from PATH, properly so it persists across reboots. I am also not sure if doing so will break some functionality of unraid? I do have NerdPack installed so I thought it is possible it may be coming from that plugin? 

 

Any help would be appreciated. Thanks.

 

Annnd.... as usual I find the answer within minutes of posting. The "." is being added to the path in /etc/profile. Now I just need to find out how to remove it so it persists.

Edited by ciarlill

  • Community Expert

Since the OS is unpacked fresh from bzroot each boot, the traditional way was to add some code to the config/go script to modify OS files such as are in /etc.

 

You might also try the Command Line plugin. I think it preserves some settings for root user between boots.

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.