-
twistable_deer started following Announcements
-
Docker File Permissions
I figured it out. I think it's a Windows issue but in my shares under SMB Security, I had Case-sensitive names set to Force Lower. I changed it to Auto and I can now access the folders created by my dockers. Strange that setting was only affecting docker folders and not personal but just in case someone else runs into this issue, confirm that your SMB settings for case sensitive names is set to Auto and hopefully, that will fix it. Thanks!
-
Docker File Permissions
So it seems that when I try to save downloaded files outside of /mnt/user/appdata, that is when I have the permission issues. I've tried setting the completed downloads folder (for Deluge) to it's appdata folder and the files were accessible. I don't want to keep completed downloads in the docker folder since I back that up to the cloud and I don't need to back up downloaded content so I will review my share permissions to see if i did something wrong with my shares.
-
twistable_deer started following Docker File Permissions
-
Docker File Permissions
Hello everyone! Since my unraid system was deleted, I am in the process of rebuilding everything. I am running into an issue where files and folders created by docker containers are not accessible by my SMB user. An example is I have my Deluge docker container and files that are downloaded and moved to one of my user shares are not accessible by my user in unraid. I am pretty decent in Linux and from the folder permissions, it seems that my user should have access but when I try to open (or do anything to the file) in Windows 10, I get "X Is unavailable, make sure the device or drive is successfully connected etc..." so it seems that my user doesn't have permission to access the file. I've ran the DockerSafePermissions a few times hoping it would fix it but that didn't help. I've confirmed that the file/folders have 777 permissions and I've tried changing the user from nobody to my internal user but that also didn't work. I can create a new folder/file in the same folder that the docker files are in and running ls -alh, the folder permissions and owners match but still, I can't open to edit the files created by the docker container. I've also tried changing the ownership of a folder I created from my internal user to nobody and I was able to access the folder so it seems to be something with my docker containers preventing me from accessing/editing the files they create no matter what permissions I set or ownership I specify. Would anyone have any ideas? Thanks!
-
All data deleted...
I am not sure how this happened. It could have been a malicious attacker, a bug in some software, a freak accident or something but I come home after a small weekend vacation with unRaid completely unusable. I reboot and nothing is booting. I plug a monitor into my server and a warning that the OS isn't booting due to a missing/corrupt file. No big deal, I've had USB keys die before so I plug it into my desktop and noticed pretty much everything on the USB stick is gone. Very strange... I go to my external hard drive backup to grab my unraid USB key backup which was mounted to unraid via an SMB share for nightly backups and that, it also empty... I reinstall unraid on my USB stick and I was able to boot in a factory reset server. I was able to locate the parity drive I used before and I was able to start the array. unRaid reports that all of my disks are basically empty. About 20 TB's of data is gone... I literally just set up Duplicati and started backing up everything to BackBlaze but it wasn't able to finish the backup before everything got deleted. Most of the storage was media but I obviously kept important documents such as tax returns, program file keys, family photos, everything... I bought Raise Data Recovery to see if I can restore the files. Seems like it's able to locate pretty much everything but it's going to take a few days to scan 20 TB's worth of hard drives plus my 6 TB external hard drive. I am not quite sure how this happened. I have Plex docker, Overseer docker, NextCloud docker and Home Assistant VM allowed on my WAN through a NGINX docker proxy so I guess that could have been possible to access unraid through one of those dockers. After I restore my data, I will continue my external backup to BackBlaze (it's super cheap. Probably only going to cost $2 a month to backup my non-media files), fix how I do my external hard drive backup (no mounting directly to unraid), using an external USB enclosure do to offline, manual monthly backups. I will redo all of my shares and keep my personal, important data on a separate share where no dockers (except Duplicati) can access. I will do an external network scan to make sure I didn't expose a docker or the NGINX proxy config page to the web. I will go through each docker to confirm they have minimal access to do their jobs. I am pretty sure a misconfigured docker caused all this. I did have Nextcloud have access to the entire share so I can access it anywhere but I removed that a while ago since I never really used it and I use Wireguard VPN to access files if needed. I need Home Assistant and Plex accessible since my family watches movies and TV shows off my server and Home Assistant for cell phone notifications for devices that don't have a VPN. Keep your data safe everyone!
twistable_deer
Members
-
Joined
-
Last visited