toasti Posted September 24, 2023 Share Posted September 24, 2023 Hello, accidentally I did this in the console Quote find / \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \) Instead of this Quote find \( -type d -exec chmod 755 {} + \) -o \( -type f -exec chmod 644 {} + \) 😩😩😩 Just wanted to change permissions in one folder and subfolders in the current directory (nginx www) but overseen the / I have typed by mistake. I don't know what was really changed, it also says permission denied for a lot of folders. Is there any possibility to check this easily? Unraid says now "blacklisted" where I normally See "Unraid Plus". Web Terminal not working, No Log by web gui, every time I enter the URL I get a Login mask with "Set your password". I think I killed it... any Idea to fix this?! 😢 Please help! Quote Link to comment
Solution Kilrah Posted September 24, 2023 Solution Share Posted September 24, 2023 Reboot. Since each Unraid boot is essentially a fresh install all the root fs permissions will be restored. You can sort out your user data (anything in /mnt) later if that was affected. Quote Link to comment
toasti Posted September 24, 2023 Author Share Posted September 24, 2023 You have saved me from a sleepless night - many thanks!! It seems that all is ok, also no changes to my data. But will check tomorrow in detail. I was afraid to reboot and maybe no possibility anymore to get access to the system. Puh.... Thanks again!!! 1 Quote Link to comment
dboonthego Posted September 25, 2023 Share Posted September 25, 2023 The good ole / slash. Sometimes you don't want it and sometimes you do. I once moved hundreds of files and forgot the trailing slash/ in the destination. Essentially that deleted everything. Quote Link to comment
toasti Posted September 25, 2023 Author Share Posted September 25, 2023 Oha! And I bet this will no more happen in future 😏 Quote Link to comment
dboonthego Posted September 25, 2023 Share Posted September 25, 2023 3 hours ago, toasti said: Oha! And I bet this will no more happen in future 😏 Yep. I try to copy then delete now as move can have grim results even when you're careful. 1 Quote Link to comment
Recommended Posts
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.