lachiu

Members
  • Posts

    51
  • Joined

  • Last visited

Everything posted by lachiu

  1. I should've made an edit. I'm doing it on the sftp server with this script (wrote it myself) already, on an ubuntu vm.
  2. Not even a single reply...
  3. Hello I'd like to request the ability to give a maximum size you want a certain share to be. I read this post but I believe it would be possible if you allowed a script to run that basically checks the share size with du or so and then makes it read only if it's the given size or higher. I wanted to allow SFTP before I made an ubuntu vm for it and I noticed that with each reboot it would revert the files I changed (due to it being on RAM to limit write usage to the usb stick) so diy'ing this isn't possible as far as my knowledge goes on unraid. Thanks in advance
  4. Hello I've setup a few shares for multiple users. For instance "Documents", both read and write access by 3 users. No issues. Can write and read for aslong as I want. A 2nd folder called "Writes", both read and write access by 3 users (1 mutual being my own - mathieu) doesn't allow me to write. Sometimes it even bugs the permissions causing it to be (from ls -al) d????????? ??? ??? some numbers Writes/ which also prevents me from even being able to read it. (it just disappears from the SFTP access) The SFTP access is being handled through an Ubuntu 18.04 vm. This is what my fstab looks like: Tried adding the uids after it bugging, doesn't help. I've also noticed that the command "tree" is bugged, while having it installed and working correctly before, error: (IDK if relevant) As we're speaking it's bugged again, remounted the shares yesterday so roughly 34 hours ago, from writing. (then it worked fine) Now I'm missing all my folders as user student and mathieu except for Documents and movies. Using umount -av and mount -av obviously fixes this "issue". Any idea how to fix this? I assume it's because of SMB? I can't write in /Shared for instance now while the user in the webgui has read and write access. Thanks in advance
  5. I'm encountering another problem, I'm trying to remove the unraid share mounting tags. The 3rd one has been renamed. It keeps on adding the 4th one to ones I delete. If I try to remove them all at once I get this error: Now I've changed it to this since I don't want to use these anymore. (need more than 7 mounting points and am going to use smb now)
  6. A reboot fixed that, downloading the update now.
  7. Yeah I've noticed that. I've always been told don't update what isn't broken... Will do that now.
  8. server-diagnostics-20190211-1752.zip
  9. I know, I'm not saying that I'm trying to login on the webui as another user. I need to create this users to setup share permissions. "Since I want to change share security I need a webgui user. "
  10. Hello I've currently got 8 users (already) and I need a few more. However I can click on add but it doesn't do anything. I've also tried using incognito mode but it doesn't change anything. Since I want to change share security I need a webgui user. Thanks in advance
  11. Hello I managed to setup an ubuntu server for handling SFTP. I have currently got 2 users, my friend "Salim" and "student" for people that are in my class. I've given my friend access to my share "Vids" that have all my gameplays vids that I record from my gaming machine and instantly send to my share "Vids". That works. However, I also want a shared folder, that is only being used for SFTP and can be accessed locally through SMB. This also works but only for user Salim and not for user student. The share setup on the vm: The fstab: Also tried with using the same name and using multiple mountingpoints but that created folders like SFTP: and SFTP; Tree throws a supossedly error at me? So these should be synced, however they are not. Any ideas?
  12. Hello I'm trying to setup a SFTP connection to my NAS. It sometimes works, and unfortunately, it sometimes doesn't. I'm also following a course about networks so I've also asked my teacher for help, wasn't expecting anything else btw, he forwarded me to a few courses of him regarding SSH and SFTP which made it a lot clearer for me. I explained my issues, well, long story short, he made a "test" user which almost always has a succesful connection. I want to give my friend, Salim, access to share "Vids" (gameplay vids, non 18+) and my father to share "Documenten" (being documents, invoices, etc) I've spent the last 4 hours toying around with this, so here's how it looks in "cat /etc/passwd" test:x:1009:1009::/home/test:/bin/bash tss:x:59:59:Account used by the trousers package to sandbox the tcsd daemon:/:/bin/false (not added by me) papa:x:1010:1000::/mnt/user0/Documenten:/bin/bash salim:x:1011:1011::/mnt/user0:/bin/bash I've tried using: - "useradd -g sftp -d /mnt/user0/share-name -s /sbin/nologin papa" - "useradd -g sftp -d /mnt/user0/share-name -s /sbin/nologin salim" Doesn't show a difference, figured user "test" works so why not use /bin/bash straight away. I can't figure out what triggers it to break the users, normally after adding the user it works, but then... I've read that I have to edit sshd_config using "sudo nano /etc/ssh/sshd_config" so they have to use the password, going to use the key system later, but first I want this to work. (don't fix what ain't broken). After adding the following, it seems to break/not work: "Subsystem sftp internal-sftp Match group sftp ChrootDirectory %h ForceCommand internal-sftp" After editing sshd_config I've read that I have to restart the service. None of the other commands like "restart ssh service" work, so I found out that I have to use "/etc/rc.d/rc.sshd restart". None of the users, including "test" stop working at this point. I've noticed before that I sometimes have to restart unRAID to get things working so after doing that it suddenly rollsback sshd_config even tho I saved the file to the correct path. (just pressing enter). I honestly don't know what I'm missing. I've also got a Kingston A400 240GB in my array causing a lot of errors, sometimes it becomes unmountable even tho I can still read and write from the share that only has that ssd included. I've tried to remove the share and the ssd from the array but I couldn't figure it out, even after reading the wiki. I hope I explained everything, if something's unclear you know where to comment. Thanks in advance.
  13. Hello I'm currently experiencing issues with my guest gaming pc. Full specs at the bottom. Somehow I'm getting the error in the title if I try to write to any of the shares that I access through Windows via Network. They work fine on 2 other Windows machines being the streaming pc and main gaming pc. The weird thing is that I was just installing and playing that very game from one of the shares that also displays that same error right now. I've read this other post. But the issue doesn't exist on my D drive since I've only got a single ssd... Full specs can be found here. Any advice? Kind regards
  14. Again, that doesn't answer my question.
  15. So what do I need to do get this working to share files with a friend?
  16. I'm new to FileZilla and am having issues with setting it up. I'm really lost. I got the webUI in front of me and want to give a friend access to FileZilla with an SSH key. I think this is the server version so idk what to do. Please advice.
  17. The Dell H310 came in today, haven't got the chance yet to test it out since I've got no spare drives left. Another issue I've been struggeling with is finding a automated back up solution to back multiple systems up to the NAS/Documents. I've tested AllwaySync, FreeFileSync and RealTimeSync but can't seem to get them working. AllwaySync decided to start asking for a pro license due to too much files on my main rig, my dad's been using it fine tho but he never shuts the office pc off so I'd much rather get a solution to back up whenever a file's changed. I tried using RTS on my main rig but it seemed to cause stutters in some games while automated back up (due to changing save files?) and was, frankly, pretty hard to setup for me.
  18. I found an older thread earlier, lost the page, stating the the MegaRaid card won't support ZFS so I'm going to stop trying before my array get's corrupted.