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.

700 permission does not block other users reading the file

Featured Replies

Hi, I set a shared folder permission to 700 by chmod and the owner to root:root. 

But other users still can read the folder via ssh/ftp.

It seems the permission only work with samba share?

 

Realistically, though for FTP access you're probably best off using something like ProFTPd

  • Author
19 hours ago, Squid said:

 

Realistically, though for FTP access you're probably best off using something like ProFTPd

Thanks for your reply. As suggested I switch the default FTP daemon to ProFTPd. The permission of shared folder always  puzzle me. It changed itself and I have no clue.

FWIW, I am working on an enhancement to the built in vsftpd to limit a user to just a specific folder. There is no need to use ProFTPD when vsftpd can do what we need.

 

I'm almost done then hopefully they will accept my pull request. Stuck trying to figure out how the Done/Reset function works. :/

 

image.thumb.png.ffdf1c5912bc9680fd6bb2827d64fc01.png

  • Community Expert
1 hour ago, IMTheNachoMan said:

Stuck trying to figure out how the Done/Reset function works.

This is normally done by having 2 different buttons and using JavaScript to show/hide the one that is not relevant.

5 hours ago, itimpi said:

This is normally done by having 2 different buttons and using JavaScript to show/hide the one that is not relevant.

 

Yeah. The Unraid UI uses one button and changes the text. I can do it myself but I'm trying to find the code it uses so I can just use the same code. Trying to use as much existing code as possible. 

It's all automatic, if you follow the same "format" / coding structure as any other page and use forms.  ie: 

: <input type="submit" name="#apply" value="_(Apply)_" id='Apply'><input type="button" id="DONE" value="_(Done)_" onclick="done()">

 

Deviating means that you have to handle it via js

1 hour ago, Squid said:

It's all automatic, if you follow the same "format" / coding structure as any other page and use forms.  ie: 

: <input type="submit" name="#apply" value="_(Apply)_" id='Apply'><input type="button" id="DONE" value="_(Done)_" onclick="done()">

 

Deviating means that you have to handle it via js

 

Ha. I was doing that but I had a typo which is why it didn't work. Works now. Thanks!

I have the update the code (I think). I've tested it a bit but could use a 2nd set of eyes. Anyone willing to give it a test before I submit a pull request?

  • Users are restricted to a folder of your choosing
  • You can enable/disable logging to syslog
  • You can select the root folder for each user

 

image.thumb.png.dbfad3e081adfeb8df8e566de5d1b5b6.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.