Apologies if this is posted in the wrong place, I'm new to these forums!
Version - TrueNAS CORE 13.0-release
I was SSH'd into my server to do some bulk reorganizing in my media libraries, I was typing too quickly and hit chmod 775 /* instead of chmod 775 * and set the permissions on the root directory to 775 by mistake.
I didn't realize I had made the mistake until I clicked back to the GUI and got a "404 Not Found" for the login page, and all my SMB shares are now broken.
Things in jails are still running properly, and I didn't put an -R in my command, so am fairly certain this action was not recursive. If I could find out what the permissions are supposed to be for everything in the directory, I could theoretically just re-set those, and I should be good, right?
I'm afraid to disconnect from the server in case I can't SSH back into it afterward.
Thanks in advance!
Version - TrueNAS CORE 13.0-release
I was SSH'd into my server to do some bulk reorganizing in my media libraries, I was typing too quickly and hit chmod 775 /* instead of chmod 775 * and set the permissions on the root directory to 775 by mistake.
I didn't realize I had made the mistake until I clicked back to the GUI and got a "404 Not Found" for the login page, and all my SMB shares are now broken.
Things in jails are still running properly, and I didn't put an -R in my command, so am fairly certain this action was not recursive. If I could find out what the permissions are supposed to be for everything in the directory, I could theoretically just re-set those, and I should be good, right?
Code:
drwxrwxrw- 20 root wheel uarch 27 Feb 5 20:34 ./ drwxrwxrw- 20 root wheel uarch 27 Feb 5 20:34 ../ -rw-r--r-- 2 root wheel uarch 1023 Jan 18 2012 .cshrc -rw-r--r-- 2 root wheel uarch 507 Jan 18 2012 .profile lrwxr-xr-x 1 root wheel uarch 13 Jan 18 2012 .rnd@ -> /var/tmp/.rnd drwxrwxr-x 2 root wheel uarch 47 Jan 18 2012 bin/ drwxrwxr-x 15 root wheel uarch 70 Feb 5 20:33 boot/ drwxrwxr-x 3 root wheel uarch 3 Jan 18 2012 compat/ drwxrwxr-x 3 root wheel uarch 3 Dec 31 2011 conf/ -rwxrwxr-x 1 root wheel uarch 6109 Jan 18 2012 COPYRIGHT* drwxrwxr-x 6 root wheel uarch 13 Feb 5 21:39 data/ drwxrwxr-x 14 root wheel - 512 Feb 5 21:49 dev/ -rwxrwxr-x 1 root wheel uarch,nodump 4096 Feb 5 20:34 entropy* drwxrwxr-x 34 root wheel uarch 8960 Feb 5 21:39 etc/ drwxrwxr-x 5 root wheel uarch 58 Jan 18 2012 lib/ drwxrwxr-x 3 root wheel uarch 4 Jan 18 2012 libexec/ drwxrwxr-x 2 root wheel uarch 2 Jan 18 2012 media/ drwxrwxr-x 3 root wheel uarch 128 Feb 5 20:34 mnt/ drwxrwxr-x 2 root wheel uarch 2 Jan 18 2012 net/ drwxrwxr-x 2 root wheel uarch 2 Jan 18 2012 proc/ drwxrwxr-x 2 root wheel uarch 145 Jan 18 2012 rescue/ drwxrwxr-x 5 root wheel uarch 18 Feb 5 21:48 root/ drwxrwxr-x 2 root wheel uarch 142 Jan 18 2012 sbin/ -rwxrwxr-x 1 root wheel uarch 4114 Jan 18 2012 storcli.log* lrwxr-xr-x 1 root wheel uarch 8 Jan 18 2012 tmp@ -> /var/tmp drwxrwxr-x 13 root wheel uarch 13 Jan 18 2012 usr/ drwxrwxr-x 27 root wheel uarch 1728 Feb 5 20:34 var/
I'm afraid to disconnect from the server in case I can't SSH back into it afterward.
Thanks in advance!