-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Your personal settings will not be saved #3959
Comments
|
So, this is weird. The only way you should be getting that error is if both $HOME nor $XDG_CONFIG_HOME are unset or empty when fish starts. How do you get that root shell? Via I'm assuming those other lines are from another shell. Can you |
|
Virtual Machine: VirtualBox 5.1.18 All lines are inside fish. |
|
@720720: And how do you get to that shell? Via ssh? Is fish set as your default shell (via Also, what does When in doubt, please err on the side of too much information. |
|
I can't reproduce this with FreeBSD 12.0. I enabled root logins via ssh (which is a very bad idea) and did Note that the error message says Running However, after making the aforementioned changes, rebooting my system, and logging in at the console I'm still not seeing those errors; either interactively or in the |
|
FreeBSD-11.0-RELEASE-amd64-disc1.iso root@freebsd:~ # pkg install -y fish mysql57-server root@freebsd ~# dmesg -a | grep fish root@freebsd ~# service mysql-server restart Waiting for PIDS: 1921. |
|
@720720: It looks like mysql starts stuff with the user's shell. Nothing should do that - if you want to run a script, run it with the shell you wrote it for. The only reason for other programs to use $SHELL is to drop the user into a shell to do stuff. I suggest you report a bug to FreeBSD, unless you did weird stuff with mysql (e.g. run |
root@freebsd ~# dmesg -a
fish: Your personal settings will not be saved.
fish: Unable to locate config directory derived from $HOME: '//.config/fish'.
fish: The error was 'Permission denied'.
fish: Please set $HOME to a directory where you have write access.
root@freebsd ~# uname -a
FreeBSD freebsd 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016
root@freebsd ~# pkg info fish
fish-2.5.0
Name: fish
Version: 2.5.0
Installed on: Sun Apr 16 11:54:33 2017 CEST
Origin: shells/fish
Architecture: FreeBSD:11:amd64
root@freebsd ~# ls -ld $HOME
drwxr-xr-x 10 root wheel 512 Apr 16 15:03 /root
root@freebsd ~# ls -ld $HOME/.config
drwxr-xr-x 5 root wheel 512 Apr 16 12:06 /root/.config
root@freebsd ~# ls -ld $HOME/.config/fish
drwxr-xr-x 2 root wheel 512 Apr 16 12:01 /root/.config/fish
The text was updated successfully, but these errors were encountered: