You are not logged in.

#1 2013-11-09 03:26:22

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

[solved] .config permission issues

I'm hoping someone can help me with this because I am lost.

After a recent gnome upgrade when I startx gnome-session i get a 'failed to create directory ~/.config/epiphany' and 'failed to create directory ~/.config/nautilus'

all of my settings to gnome are lost and a folder is created inside my home dir called '~' and gnome seems to store some configs in there i.e. /home/leshow/~/.config rather than what it should be using /home/leshow/.config/

i checked the permissions for .config and it seems fine.

leshow@leshowbox:~ » ls -al
total 2644
drwxr-xr-x  3 leshow users    4096 Oct 18 13:29 ~
drwx------ 43 leshow users    4096 Oct 18 13:42 .
drwxr-xr-x  4 root   root     4096 Oct 18 13:33 ..
drwx------  3 leshow users    4096 Sep 14 23:19 .adobe
-rw-r--r--  1 leshow users      80 Sep 21 14:01 .asoundrc
drwxr-xr-x 16 leshow users    4096 Oct 10 17:52 AUR
-rw-------  1 leshow users    8593 Oct  1 20:49 .bash_history
-rw-r--r--  1 leshow users      21 Aug 25 08:06 .bash_logout
-rw-r--r--  1 leshow users      57 Aug 25 08:06 .bash_profile
-rw-r--r--  1 leshow users     877 Sep 16 20:04 .bashrc
-rw-r--r--  1 leshow users     331 Sep 15 17:43 .bashrc_back
-rw-------  1 leshow users  257981 Oct 12 19:07 bookmarks_10_12_13.html
drwxr-xr-x 22 leshow users    4096 Oct 10 19:50 .cache
drwxr-xr-x  3 leshow users    4096 Oct  8 22:12 .color
drwxr-xr-x 43 leshow users    4096 Oct 18 13:28 .config
drwxr-xr-x  2 leshow users    4096 Sep 29 22:17 .covers
drwx------  3 leshow users    4096 Oct  3 11:22 .dbus
drwxr-xr-x  2 leshow users    4096 Sep 14 23:25 Desktop
drwx------  2 leshow users    4096 Oct 15 19:23 Downloads
-rw-------  1 leshow users      16 Sep 14 22:54 .esd_auth
drwxr-xr-x 24 leshow users    4096 Oct  3 13:15 .gimp-2.8
drwx------  2 leshow users    4096 Oct 18 13:42 .gnupg
drwxr-xr-x  2 leshow users    4096 Sep 22 17:52 .gstreamer-0.10
drwxr-xr-x  4 leshow users    4096 Oct  1 19:43 .gtkpod
-rw-r--r--  1 leshow users     570 Oct  3 11:41 .gtkrc-2.0
drwxr-xr-x  2 leshow users    4096 Oct  6 14:59 .i3
-rw-------  1 leshow users   15994 Oct 18 13:35 .ICEauthority
drwx------  3 leshow users    4096 Oct  3 11:41 .icons
drwx------  2 leshow users    4096 Oct 13 04:38 .irssi
drwxr-xr-x  3 leshow users    4096 Sep 19 23:00 .java
drwxr-xr-x 13 leshow users    4096 Oct  4 14:09 .jdownloader
drwx------  3 leshow users    4096 Sep 14 22:54 .local
drwxr-xr-x  2 leshow users    4096 Sep 29 22:17 .lyrics
drwx------  3 leshow users    4096 Sep 14 23:19 .macromedia
drwxr-xr-x 14 leshow users    4096 Oct 15 18:58 Media
drwx------  4 leshow users    4096 Sep 14 23:15 .mozilla
drwxr-xr-x  3 leshow users    4096 Sep 29 19:58 .mpd
-rw-r--r--  1 leshow users   15981 Sep 29 19:58 .mpdconf
drwxr-xr-x  2 leshow users    4096 Sep 29 19:58 .ncmpcpp
drwx------  3 leshow users    4096 Sep 14 22:54 .nv
-rw-r--r--  1 leshow users    1503 Oct 10 08:58 .nvidia-settings-rc
drwxr-xr-x 10 leshow users    4096 Oct  1 20:42 .oh-my-zsh
drwx------  3 leshow users    4096 Sep 14 23:03 .pki
-rw-------  1 leshow users     256 Sep 14 23:30 .pulse-cookie
-rwxr-xr-x  1 leshow users    2736 Oct 14 11:48 .rtorrent.rc
drwxr-xr-x  2 leshow users    4096 Oct  4 17:45 .snes9x
drwx------  2 leshow users    4096 Oct  8 22:12 .ssh
drwxr-xr-x  2 leshow users    4096 Sep 14 23:49 .steam
lrwxrwxrwx  1 leshow users      31 Sep 14 23:49 .steampath -> /home/leshow/.steam/bin32/steam
lrwxrwxrwx  1 leshow users      29 Sep 14 23:49 .steampid -> /home/leshow/.steam/steam.pid
drwxr-xr-x  2 leshow users    4096 Sep 29 02:09 .Synkron
drwx------  3 leshow users    4096 Oct  3 12:05 .thumbnails
lrwxrwxrwx  1 leshow users      34 Oct 15 17:39 .tmux.conf -> /home/leshow/.tmux-tony/.tmux.conf
drwxr-xr-x  4 leshow users    4096 Oct 15 17:39 .tmux-tony
drwxr-xr-x  2 leshow users    4096 Sep 15 01:37 .urxvt
drwx------  3 leshow users    4096 Oct 13 04:02 .vimperator
drwxr-xr-x  4 leshow users    4096 Oct  8 22:10 .wine
-rw-------  1 leshow users      54 Oct 15 19:25 .Xauthority
-rw-r--r--  1 leshow users     283 Oct  3 13:12 .xbindkeysrc
-rw-r--r--  1 leshow users     168 Oct 15 19:12 .xinitrc
-rw-r--r--  1 leshow users    5622 Oct 13 04:13 .Xresources
-rw-------  1 leshow users     148 Oct  3 13:41 .xsel.log
-rw-r--r--  1 leshow users   31011 Oct 13 04:00 .zcompdump-leshowbox-5.0.2
-rw-------  1 leshow users   21988 Oct 18 13:42 .zsh_history
-rw-r--r--  1 leshow users    3131 Oct  8 22:15 .zshrc
-rw-r--r--  1 leshow users      17 Oct 15 23:04 .zsh-update
drwxr-xr-x  2 leshow users    4096 Oct  4 17:46 .zsnes

please someone give me a hand, I have no idea why i'd be hacing this problem.

Last edited by Cryptix_00 (2013-11-12 03:53:59)

Offline

#2 2013-11-09 14:22:10

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

turns out this is not just for gnome, but all of my applications seem unable to read the .config folder.

Offline

#3 2013-11-09 14:43:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [solved] .config permission issues

What is in the $HOME/~ directory?  When/how is it recreated if you delete it?

My first suspicion is that the ~ shell option is used either somewhere it shouldn't be and isn't expanded the way the shell would expand it, or it is used in an appropriate location, but quoted/escaped in such a way as to prevent expansion.

Edit: if this suspicion is correct (it is a shot in the dark, but the only one I can come up with) then the source of the problem would be in a script, autostart, shellrc file, or related file that you have created or edited.

Edit2: As an example `mkdir -p "~/somedir"` will not expand the ~ but will instead create a directory named ~ in the current working directory and a subdirectory in that named "somedir".  I suspect some script checks for "~/.config/dirname" and if nonexistent it creates it with a "mkdir -p".  This is common, but if done incorrectly, it could lead to your symptoms.  If this is true, the culprit should be able to be identified by the subdirectories in your $HOME/~/.config/

Last edited by Trilby (2013-11-09 14:49:03)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-11-09 15:46:41

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

if i delete the /home/leshow/~ directory gnome/chromium/some other apps seem to forget their settings. it contains a .config folder, which i thought it was making because it doesn't have access to /home/leshow/.config for some reason, even though i've chmod and chowned it.


i start my session with startx, so this is the only init script i have .xinitrc:

xrdb -load ~/.Xresources
xbindkeys
xset -dpms

# window-managers
exec gnome-session

Last edited by Cryptix_00 (2013-11-09 15:47:06)

Offline

#5 2013-11-09 15:49:35

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

forgot the contents of ~

leshow@leshowbox:~ » ls -al /home/leshow/~
total 12
drwxr-xr-x  3 leshow users 4096 Nov  9 09:19 .
drwx------ 45 leshow users 4096 Nov  9 10:48 ..
drwxr-xr-x  9 leshow users 4096 Nov  9 09:36 .config

and the .config contained therein:

leshow@leshowbox:~ » ls -al /home/leshow/~/.config
total 44
drwxr-xr-x 9 leshow users 4096 Nov  9 09:36 .
drwxr-xr-x 3 leshow users 4096 Nov  9 09:19 ..
drwx------ 2 leshow users 4096 Nov  9 09:20 autostart
drwx------ 5 leshow users 4096 Nov  9 10:47 chromium
drwxr-xr-x 3 leshow users 4096 Nov  9 09:19 gnome-session
drwx------ 2 leshow users 4096 Nov  9 09:35 gtk-2.0
drwx------ 3 leshow users 4096 Nov  9 09:19 ibus
-rw-r--r-- 1 leshow users  922 Nov  9 09:35 monitors.xml
drwx------ 2 leshow users 4096 Nov  9 09:19 tracker
-rw-r--r-- 1 leshow users 2054 Nov  9 09:36 Trolltech.conf
drwx------ 2 leshow users 4096 Nov  9 10:16 vlc

all of this seemed to start after an upgrade to gnome around the middle of october, but it could be coincidental, since i haven't been able to find anyone else with the problem

Offline

#6 2013-11-09 21:17:10

HiImTye
Member
From: Halifax, NS, Canada
Registered: 2012-05-09
Posts: 1,072

Re: [solved] .config permission issues

what's the output of either of these:

echo "$HOME"
set | grep -i ^home

Offline

#7 2013-11-09 23:11:41

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

leshow@leshowbox:~ » echo "$HOME"
/home/leshow

leshow@leshowbox:~ » set | grep -i ^home
Binary file (standard input) matches

Offline

#8 2013-11-10 04:39:43

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [solved] .config permission issues

Cryptix_00 wrote:

leshow@leshowbox:~ » set | grep -i ^home
Binary file (standard input) matches

This is definitely wrong.

What shell are you using and what is in your configuration files for the shell?

If you use bash, what is the output of set without grepping it?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#9 2013-11-10 05:12:43

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] .config permission issues

When I use zsh and run 'set | grep -i home' I get the same as the OP.  But with bash the grep works just fine.

Offline

#10 2013-11-10 06:13:22

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

cfr wrote:
Cryptix_00 wrote:

leshow@leshowbox:~ » set | grep -i ^home
Binary file (standard input) matches

This is definitely wrong.

What shell are you using and what is in your configuration files for the shell?

If you use bash, what is the output of set without grepping it?


i use zsh, the output of set is very long but here it is:

leshow@leshowbox:~ » set                                                                                                                                2 ↵
'!'=0
'#'=0
'$'=1117
'*'=()
-=569JNORTXZghilms
0=-zsh
'?'=2
@=()
ARGC=0
BG=(000 '%{%}' 001 '%{%}' 002 '%{%}' 003 '%{%}' 004 '%{%}' 005 '%{%}' 006 '%{%}' 007 '%{%}' 008 '%{%}' 009 '%{%}' 010 '%{%}' 011 '%{%}' 012 '%{%}' 013 '%{%}' 014 '%{%}' 015 '%{%}' 016 '%{%}' 017 '%{%}' 018 '%{%}' 019 '%{%}' 020 '%{%}' 021 '%{%}' 022 '%{%}' 023 '%{%}' 024 '%{%}' 025 '%{%}' 026 '%{%}' 027 '%{%}' 028 '%{%}' 029 '%{%}' 030 '%{%}' 031 '%{%}' 032 '%{%}' 033 '%{%}' 034 '%{%}' 035 '%{%}' 036 '%{%}' 037 '%{%}' 038 '%{%}' 039 '%{%}' 040 '%{%}' 041 '%{%}' 042 '%{%}' 043 '%{%}' 044 '%{%}' 045 '%{%}' 046 '%{%}' 047 '%{%}' 048 '%{%}' 049 '%{%}' 050 '%{%}' 051 '%{%}' 052 '%{%}' 053 '%{%}' 054 '%{%}' 055 '%{%}' 056 '%{%}' 057 '%{%}' 058 '%{%}' 059 '%{%}' 060 '%{%}' 061 '%{%}' 062 '%{%}' 063 '%{%}' 064 '%{%}' 065 '%{%}' 066 '%{%}' 067 '%{%}' 068 '%{%}' 069 '%{%}' 070 '%{%}' 071 '%{%}' 072 '%{%}' 073 '%{%}' 074 '%{%}' 075 '%{%}' 076 '%{%}' 077 '%{%}' 078 '%{%}' 079 '%{%}' 080 '%{%}' 081 '%{%}' 082 '%{%}' 083 '%{%}' 084 '%{%}' 085 '%{%}' 086 '%{%}' 087 '%{%}' 088 '%{%}' 089 '%{%}' 090 '%{%}' 091 '%{%}' 092 '%{%}' 093 '%{%}' 094 '%{%}' 095 '%{%}' 096 '%{%}' 097 '%{%}' 098 '%{%}' 099 '%{%}' 100 '%{%}' 101 '%{%}' 102 '%{%}' 103 '%{%}' 104 '%{%}' 105 '%{%}' 106 '%{%}' 107 '%{%}' 108 '%{%}' 109 '%{%}' 110 '%{%}' 111 '%{%}' 112 '%{%}' 113 '%{%}' 114 '%{%}' 115 '%{%}' 116 '%{%}' 117 '%{%}' 118 '%{%}' 119 '%{%}' 120 '%{%}' 121 '%{%}' 122 '%{%}' 123 '%{%}' 124 '%{%}' 125 '%{%}' 126 '%{%}' 127 '%{%}' 128 '%{%}' 129 '%{%}' 130 '%{%}' 131 '%{%}' 132 '%{%}' 133 '%{%}' 134 '%{%}' 135 '%{%}' 136 '%{%}' 137 '%{%}' 138 '%{%}' 139 '%{%}' 140 '%{%}' 141 '%{%}' 142 '%{%}' 143 '%{%}' 144 '%{%}' 145 '%{%}' 146 '%{%}' 147 '%{%}' 148 '%{%}' 149 '%{%}' 150 '%{%}' 151 '%{%}' 152 '%{%}' 153 '%{%}' 154 '%{%}' 155 '%{%}' 156 '%{%}' 157 '%{%}' 158 '%{%}' 159 '%{%}' 160 '%{%}' 161 '%{%}' 162 '%{%}' 163 '%{%}' 164 '%{%}' 165 '%{%}' 166 '%{%}' 167 '%{%}' 168 '%{%}' 169 '%{%}' 170 '%{%}' 171 '%{%}' 172 '%{%}' 173 '%{%}' 174 '%{%}' 175 '%{%}' 176 '%{%}' 177 '%{%}' 178 '%{%}' 179 '%{%}' 180 '%{%}' 181 '%{%}' 182 '%{%}' 183 '%{%}' 184 '%{%}' 185 '%{%}' 186 '%{%}' 187 '%{%}' 188 '%{%}' 189 '%{%}' 190 '%{%}' 191 '%{%}' 192 '%{%}' 193 '%{%}' 194 '%{%}' 195 '%{%}' 196 '%{%}' 197 '%{%}' 198 '%{%}' 199 '%{%}' 200 '%{%}' 201 '%{%}' 202 '%{%}' 203 '%{%}' 204 '%{%}' 205 '%{%}' 206 '%{%}' 207 '%{%}' 208 '%{%}' 209 '%{%}' 210 '%{%}' 211 '%{%}' 212 '%{%}' 213 '%{%}' 214 '%{%}' 215 '%{%}' 216 '%{%}' 217 '%{%}' 218 '%{%}' 219 '%{%}' 220 '%{%}' 221 '%{%}' 222 '%{%}' 223 '%{%}' 224 '%{%}' 225 '%{%}' 226 '%{%}' 227 '%{%}' 228 '%{%}' 229 '%{%}' 230 '%{%}' 231 '%{%}' 232 '%{%}' 233 '%{%}' 234 '%{%}' 235 '%{%}' 236 '%{%}' 237 '%{%}' 238 '%{%}' 239 '%{%}' 240 '%{%}' 241 '%{%}' 242 '%{%}' 243 '%{%}' 244 '%{%}' 245 '%{%}' 246 '%{%}' 247 '%{%}' 248 '%{%}' 249 '%{%}' 250 '%{%}' 251 '%{%}' 252 '%{%}' 253 '%{%}' 254 '%{%}' 255 '%{%}' )
BSPWM_SOCKET=/tmp/bspwm-socket
CDPATH=.
COLORFGBG='7;default'
COLORTERM=rxvt
COLUMNS=156
CPUTYPE=x86_64
DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-xUNIorijsi,guid=690d7dcc81394d1507f2f42d527f0c91'
DISPLAY=:0
EGID=100
ERRNO=0
EUID=1000
FG=(000 '%{%}' 001 '%{%}' 002 '%{%}' 003 '%{%}' 004 '%{%}' 005 '%{%}' 006 '%{%}' 007 '%{%}' 008 '%{%}' 009 '%{%}' 010 '%{%}' 011 '%{%}' 012 '%{%}' 013 '%{%}' 014 '%{%}' 015 '%{%}' 016 '%{%}' 017 '%{%}' 018 '%{%}' 019 '%{%}' 020 '%{%}' 021 '%{%}' 022 '%{%}' 023 '%{%}' 024 '%{%}' 025 '%{%}' 026 '%{%}' 027 '%{%}' 028 '%{%}' 029 '%{%}' 030 '%{%}' 031 '%{%}' 032 '%{%}' 033 '%{%}' 034 '%{%}' 035 '%{%}' 036 '%{%}' 037 '%{%}' 038 '%{%}' 039 '%{%}' 040 '%{%}' 041 '%{%}' 042 '%{%}' 043 '%{%}' 044 '%{%}' 045 '%{%}' 046 '%{%}' 047 '%{%}' 048 '%{%}' 049 '%{%}' 050 '%{%}' 051 '%{%}' 052 '%{%}' 053 '%{%}' 054 '%{%}' 055 '%{%}' 056 '%{%}' 057 '%{%}' 058 '%{%}' 059 '%{%}' 060 '%{%}' 061 '%{%}' 062 '%{%}' 063 '%{%}' 064 '%{%}' 065 '%{%}' 066 '%{%}' 067 '%{%}' 068 '%{%}' 069 '%{%}' 070 '%{%}' 071 '%{%}' 072 '%{%}' 073 '%{%}' 074 '%{%}' 075 '%{%}' 076 '%{%}' 077 '%{%}' 078 '%{%}' 079 '%{%}' 080 '%{%}' 081 '%{%}' 082 '%{%}' 083 '%{%}' 084 '%{%}' 085 '%{%}' 086 '%{%}' 087 '%{%}' 088 '%{%}' 089 '%{%}' 090 '%{%}' 091 '%{%}' 092 '%{%}' 093 '%{%}' 094 '%{%}' 095 '%{%}' 096 '%{%}' 097 '%{%}' 098 '%{%}' 099 '%{%}' 100 '%{%}' 101 '%{%}' 102 '%{%}' 103 '%{%}' 104 '%{%}' 105 '%{%}' 106 '%{%}' 107 '%{%}' 108 '%{%}' 109 '%{%}' 110 '%{%}' 111 '%{%}' 112 '%{%}' 113 '%{%}' 114 '%{%}' 115 '%{%}' 116 '%{%}' 117 '%{%}' 118 '%{%}' 119 '%{%}' 120 '%{%}' 121 '%{%}' 122 '%{%}' 123 '%{%}' 124 '%{%}' 125 '%{%}' 126 '%{%}' 127 '%{%}' 128 '%{%}' 129 '%{%}' 130 '%{%}' 131 '%{%}' 132 '%{%}' 133 '%{%}' 134 '%{%}' 135 '%{%}' 136 '%{%}' 137 '%{%}' 138 '%{%}' 139 '%{%}' 140 '%{%}' 141 '%{%}' 142 '%{%}' 143 '%{%}' 144 '%{%}' 145 '%{%}' 146 '%{%}' 147 '%{%}' 148 '%{%}' 149 '%{%}' 150 '%{%}' 151 '%{%}' 152 '%{%}' 153 '%{%}' 154 '%{%}' 155 '%{%}' 156 '%{%}' 157 '%{%}' 158 '%{%}' 159 '%{%}' 160 '%{%}' 161 '%{%}' 162 '%{%}' 163 '%{%}' 164 '%{%}' 165 '%{%}' 166 '%{%}' 167 '%{%}' 168 '%{%}' 169 '%{%}' 170 '%{%}' 171 '%{%}' 172 '%{%}' 173 '%{%}' 174 '%{%}' 175 '%{%}' 176 '%{%}' 177 '%{%}' 178 '%{%}' 179 '%{%}' 180 '%{%}' 181 '%{%}' 182 '%{%}' 183 '%{%}' 184 '%{%}' 185 '%{%}' 186 '%{%}' 187 '%{%}' 188 '%{%}' 189 '%{%}' 190 '%{%}' 191 '%{%}' 192 '%{%}' 193 '%{%}' 194 '%{%}' 195 '%{%}' 196 '%{%}' 197 '%{%}' 198 '%{%}' 199 '%{%}' 200 '%{%}' 201 '%{%}' 202 '%{%}' 203 '%{%}' 204 '%{%}' 205 '%{%}' 206 '%{%}' 207 '%{%}' 208 '%{%}' 209 '%{%}' 210 '%{%}' 211 '%{%}' 212 '%{%}' 213 '%{%}' 214 '%{%}' 215 '%{%}' 216 '%{%}' 217 '%{%}' 218 '%{%}' 219 '%{%}' 220 '%{%}' 221 '%{%}' 222 '%{%}' 223 '%{%}' 224 '%{%}' 225 '%{%}' 226 '%{%}' 227 '%{%}' 228 '%{%}' 229 '%{%}' 230 '%{%}' 231 '%{%}' 232 '%{%}' 233 '%{%}' 234 '%{%}' 235 '%{%}' 236 '%{%}' 237 '%{%}' 238 '%{%}' 239 '%{%}' 240 '%{%}' 241 '%{%}' 242 '%{%}' 243 '%{%}' 244 '%{%}' 245 '%{%}' 246 '%{%}' 247 '%{%}' 248 '%{%}' 249 '%{%}' 250 '%{%}' 251 '%{%}' 252 '%{%}' 253 '%{%}' 254 '%{%}' 255 '%{%}' )
FIGNORE=''
FPATH=/home/leshow/.oh-my-zsh/plugins/git:/home/leshow/.oh-my-zsh/functions:/home/leshow/.oh-my-zsh/completions:/usr/share/zsh/site-functions:/usr/share/zsh/functions/Calendar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions/Completion/Linux:/usr/share/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/usr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/MIME:/usr/share/zsh/functions/Misc:/usr/share/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zsh/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functions/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functions/Zle
FX=(blink '%{%}' bold '%{%}' italic '%{%}' no-blink '%{%}' no-bold '%{%}' no-italic '%{%}' no-reverse '%{%}' no-underline '%{%}' reset '%{%}' reverse '%{%}' underline '%{%}' )
GID=100
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/urxvt.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=931
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS='JS ERROR;JS LOG'
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-EuZjsL
GPG_AGENT_INFO=/run/user/1000/keyring-EuZjsL/gpg:0:1
GREP_COLOR='1;32'
GREP_OPTIONS='--color=auto'
HISTCHARS='!^#'
HISTCMD=999
HISTFILE=/home/leshow/.zsh_history
HISTSIZE=10000
HOME=/home/leshow
HOST=leshowbox
IFS=' 
'
JAVA_HOME=/usr/lib/jvm/java-7-openjdk/jre
KEYBOARD_HACK=''
KEYTIMEOUT=40
LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LESS=-R
LINENO=4
LINES=26
LISTMAX=100
LOGCHECK=60
LOGNAME=leshow
LSCOLORS=Gxfxcxdxbxegedabagacad
MACHTYPE=x86_64
MAIL=/var/spool/mail/leshow
ser_admin groups _users growisofs _growisofs grrm _git grset _git grv _git gs _gs gsbj _pspdf gsdj _pspdf gsdj500 _pspdf gslj _pspdf gslp _pspdf gsnd _pspdf gss _git gst _git gtar _tar guilt _guilt guilt-add _guilt guilt-applied _guilt guilt-delete _guilt guilt-files _guilt guilt-fold _guilt guilt-fork _guilt guilt-header _guilt guilt-help _guilt guilt-import _guilt guilt-import-commit _guilt guilt-init _guilt guilt-new _guilt guilt-next _guilt guilt-patchbomb _guilt guilt-pop _guilt guilt-prev _guilt guilt-push _guilt guilt-rebase _guilt guilt-refresh _guilt guilt-rm _guilt guilt-series _guilt guilt-status _guilt guilt-top _guilt guilt-unapplied _guilt gunzip _gzip gup _git gv _gv gview _vim gvim _vim gvimdiff _vim gzcat _gzip gzilla _webbrowser gzip _gzip hash _hash help _sccs hg _hg hilite _precommand history _fc host _hosts hostnamectl _hostnamectl hotjava _webbrowser iceweasel _mozilla icombine _ispell iconv _iconv id _id identify _imagemagick ifconfig _ifconfig ifdown _net_interfaces iftop _iftop ifup _net_interfaces ijoin _ispell import _imagemagick inc _mh includeres _psutils info _texinfo infocmp _terminals initctl _initctl insmod _modutils install-info _texinfo integer _typeset ionice _ionice ip _ip ipset _ipset iptables _iptables iptables-restore _iptables iptables-save _iptables irssi _irssi ispell _ispell iwconfig _iwconfig jadetex _tex jar _java jarsigner _java java _java javac _java javadoc _java javah _java javap _java jdb _java jobs _jobs_builtin joe _joe join _join journalctl _journalctl kernel-install _kernel-install keytool _java kfmclient _kfmclient kill _kill killall _killall killall5 _killall kioclient _kfmclient knock _knock konqueror _webbrowser kpdf _pdf ksh _sh kvno _kvno last _last lastb _last latex _tex latexmk _tex ldd _ldd less _less let _math lftp _ncftp lha _lha light _webbrowser limit _limit links _links linux _uml llvm-g++ _gcc llvm-gcc _gcc ln _ln loadkeys _loadkeys local _typeset localectl _localectl locate _locate log _nothing loginctl _loginctl logname _nothing look _look lore _twisted losetup _losetup lp _lp lpadmin _lp lpinfo _lp lpoptions _lp lpq _lp lpr _lp lprm _lp lpstat _lp ls _ls lsinitcpio _mkinitcpio lsmod _modutils lsof _lsof lsusb _lsusb lynx _lynx lzcat _xz lzma _xz lzop _lzop machinectl _machinectl mail _mail mailx _mail make _make makeinfo _texinfo makepkg _pacman man _man manage.py _django manhole _twisted mark _mh matlab _matlab mattrib _mtools mcd _mtools mcopy _mtools md5sum _md5sum mdadm _mdadm mdel _mtools mdeltree _mtools mdir _mtools mdu _mtools mencal _mencal mere _mere merge _rcs metaflac _metaflac mformat _mtools mgv _pspdf mhlist _mh mhmail _mh mhn _mh mhparam _mh mhpath _mh mhshow _mh mhstore _mh mii-tool _mii-tool mkdir _mkdir mkinitcpio _mkinitcpio mkisofs _growisofs mktap _twisted mktunes _gnupod mktunes.pl _gnupod mlabel _mtools mlocate _locate mmd _mtools mmm _webbrowser mmount _mtools mmove _mtools modinfo _modutils modprobe _modutils module _module mogrify _imagemagick mondoarchive _mondo montage _imagemagick mosh _mosh mount _mount mozilla _mozilla mozilla-firefox _mozilla mozilla-xremote-client _mozilla mpc _mpc mplayer _mplayer mrd _mtools mread _mtools mren _mtools msgchk _mh mt _mt mtn _monotone mtoolstest _mtools mtr _mtr mtype _mtools munchlist _ispell mush _mail mutt _mutt mx _hosts mysql _mysql_utils mysqladmin _mysql_utils mysqldiff _mysqldiff mysqldump _mysql_utils mysqlimport _mysql_utils mysqlshow _mysql_utils nail _mail native2ascii _java nautilus _nautilus nc _netcat ncal _cal ncftp _ncftp ncl _nedit nedit _nedit nedit-nc _nedit netcat _netcat netctl _netctl netctl-auto _netctl netrik _webbrowser netscape _netscape newgrp _groups next _mh nice _nice nkf _nkf nm _nm nmap _nmap nmblookup _samba nmcli _nmcli nocorrect _precommand noglob _precommand nohup _precommand notmuch _notmuch npm _npm ns _hosts nslookup _nslookup ntalk _other_accounts ogg123 _vorbis oggdec _vorbis oggenc _vorbis ogginfo _vorbis okular _okular opera _webbrowser opera-next _webbrowser p4 _perforce p4d _perforce pacat _pulseaudio pack _pack packf _mh pacman _pacman pacman-key _pacman pacman.static _pacman pacmd _pulseaudio pactl _pulseaudio padsp _pulseaudio paplay _pulseaudio parecord _pulseaudio passwd _users pasuspender _pulseaudio patch _patch pax _pax pcat _pack pcred _pids pdf2dsc _pdf pdf2ps _pdf pdffonts _pdf pdfimages _pdf pdfinfo _pdf pdfjadetex _tex pdflatex _tex pdfopt _pdf pdftex _tex pdftk _pdftk pdftopbm _pdf pdftops _pdf pdftotext _pdf perl _perl perldoc _perldoc pfiles _pids pflags _pids pgrep _pgrep php _php pick _mh pine _pine pinef _pine ping _ping pkg-config _pkg-config pkgadd _pkgadd pkginfo _pkginfo pkgrm _pkgrm pkill _pgrep pldd _pids pmake _make pman _perl_modules pmap _pids pmcat _perl_modules pmdesc _perl_modules pmeth _perl_modules pmexp _perl_modules pmfunc _perl_modules pmload _perl_modules pmls _perl_modules pmpath _perl_modules pmvers _perl_modules podgrep _perl_modules podpath _perl_modules podtoc _perl_modules poff _pon policytool _java pon _pon popd _directory_stack postsuper _postfix prcs _prcs prev _mh print _print printenv _printenv printf _print prompt _prompt prs _sccs prt _sccs prun _pids ps2ascii _pspdf ps2epsi _ps ps2pdf _ps ps2pdf12 _ps ps2pdf13 _ps ps2pdf14 _ps ps2pdfwr _ps ps2ps _ps psbook _psutils psig _pids psmerge _psutils psmulti _ps psnup _psutils psresize _psutils psselect _psutils pstack _pids pstoedit _pspdf pstop _pids pstops _psutils pstotgif _pspdf pswrap _ps ptree _pids pulseaudio _pulseaudio pump _pump pushd _cd pwait _pids pwdx _pids pydoc _pydoc pyhtmlizer _twisted python _python qemu _qemu qiv _qiv quilt _quilt r _fc raggle _raggle rake _rake ranlib _ranlib rar _rar rc _sh rcp _rlogin rcs _rcs rcsdiff _rcs read _read readonly _typeset refile _mh rehash _hash reload _initctl remsh _rlogin renice _renice repl _mh restart _initctl retawq _webbrowser rgview _vim rgvim _vim ri _ri rlogin _rlogin rm _rm rmdel _sccs rmdir _directories rmf _mh rmic _java rmid _java rmiregistry _java rmm _mh rmmod _modutils rrdtool _rrdtool rsh _rlogin rsync _rsync rtin _tin rubber _rubber rubber-info _rubber rubber-pipe _rubber ruby _ruby rup _hosts rusage _precommand rview _vim rvim _vim rwho _hosts rxvt _urxvt sabcmd _sablotron sact _sccs scan _mh sccs _sccs sccsdiff _sccs sched _sched schedtool _schedtool scp _ssh screen _screen sed _sed serialver _java service _service set _set setfacl _setfacl setfacl.exe _setfacl setfattr _attr setopt _setopt sftp _ssh sh _sh shift _arrays show _mh showchar _psutils showmount _showmount sisu _sisu skipstone _webbrowser slitex _tex slocate _locate slogin _ssh slrn _slrn smbclient _samba smbcontrol _samba smbstatus _samba soa _hosts socket _socket sort _sort sortm _mh source _source spamassassin _spamassassin sqlite _sqlite sqlite3 _sqlite sqsh _sqsh sr _surfraw srptool _gnutls ssh _ssh ssh-add _ssh ssh-agent _ssh ssh-copy-id _ssh ssh-keygen _ssh sshfs _sshfs star _tar start _initctl stat _stat status _initctl stg _stgit stop _initctl strace _strace strip _strip stty _stty su _su sudo _sudo sudoedit _sudo surfraw _surfraw svn _subversion svnadmin _subversion svnadmin-static _subversion sync _nothing sysctl _sysctl systemctl _systemctl systemd-analyze _systemd-analyze systemd-ask-password _systemd systemd-cat _systemd systemd-cgls _systemd systemd-cgtop _systemd systemd-coredumpctl _systemd-coredumpctl systemd-delta _systemd-delta systemd-detect-virt _systemd systemd-inhibit _systemd-inhibit systemd-machine-id-setup _systemd systemd-notify _systemd systemd-nspawn _systemd-nspawn systemd-tmpfiles _systemd-tmpfiles systemd-tty-ask-password-agent _systemd talk _other_accounts tap2deb _twisted tap2rpm _twisted tapconvert _twisted tar _tar tardy _tardy tcp_open _tcpsys tcpdump _tcpdump tcptraceroute _tcptraceroute tcsh _sh tda _devtodo tdd _devtodo tde _devtodo tdr _devtodo telnet _telnet tex _tex texi2dvi _texinfo texindex _texinfo tg _topgit tidy _tidy tig _git time _precommand timedatectl _timedatectl times _nothing tin _tin tkconch _twisted tkinfo _texinfo tkmktap _twisted tla _tla tmux _tmux todo _devtodo todo.sh _todo.sh toilet _toilet totdconfig _totd tpb _tpb tpconfig _tpconfig tracepath _tracepath tracepath6 _tracepath traceroute _hosts trap _trap tree _tree trial _twisted true _nothing tryaffix _ispell ttyctl _ttyctl tunctl _uml tune2fs _tune2fs tunes2pod _gnupod tunes2pod.pl _gnupod twidge _twidge twistd _twisted txt _hosts type _which typeset _typeset udevadm _udevadm ulimit _ulimit uml_mconsole _uml uml_moo _uml uml_switch _uml umount _mount unace _unace unalias _aliases uname _uname uncompress _compress unexpand _unexpand unfunction _functions unget _sccs unhash _unhash uniq _uniq unison _unison units _units unlimit _limits unlzma _xz unpack _pack unrar _rar unset _vars unsetopt _unsetopt unxz _xz unzip _zip urxvt _urxvt urxvtc _urxvt useradd _user_admin userdel _users usermod _user_admin uzbl _uzbl uzbl-browser _uzbl uzbl-tabbed _uzbl val _sccs valgrind _valgrind vared _vared vcsh _vcsh vim _vim vimdiff _vim vncserver _vnc vncviewer _vnc vorbiscomment _vorbiscomment vserver _vserver vux _vux vuxctl _vux w3m _w3m wait _wait websetroot _twisted wget _wget what _sccs whatis _man whence _which where _which whereis _whereis which _which whoami _nothing whois _whois whom _mh wifi-menu _netctl wiggle _wiggle wodim _cdrecord wpa_cli _wpa_cli write _users_on www _webbrowser xargs _xargs xauth _xauth xclip _xclip xdpyinfo _x_utils xdvi _xdvi xelatex _tex xetex _tex xev _x_utils xfd _x_utils xfig _xfig xfontsel _x_utils xhost _x_utils xkill _x_utils xli _xloadimage xloadimage _xloadimage xlsatoms _x_utils xmllint _xmlsoft xmms2 _xmms2 xmodmap _xmodmap xmosaic _webbrowser xon _x_utils xournal _xournal xpdf _xpdf xping _hosts xprop _x_utils xrandr _xrandr xrdb _x_utils xscreensaver-command _xscreensaver xset _xset xsetbg _xloadimage xsetroot _x_utils xsltproc _xmlsoft xterm _xterm xtightvncviewer _vnc xtp _imagemagick xv _xv xview _xloadimage xvnc4viewer _vnc xvncviewer _vnc xwd _x_utils xwininfo _x_utils xwit _xwit xwud _x_utils xz _xz xzcat _xz ypbind _yp ypcat _yp ypmatch _yp yppasswd _yp yppoll _yp yppush _yp ypserv _yp ypset _yp ypwhich _yp ypxfr _yp ytalk _other_accounts zargs _zargs zathura _pspdf zcat _zcat zcompile _zcompile zcp _zmv zdelattr _zattr zdump _zdump zed _zed zen _webbrowser zfs _zfs zgetattr _zattr zip _zip zipinfo _zip zle _zle zlistattr _zattr zln _zmv zmail _mail zmodload _zmodload zmv _zmv zone _hosts zpool _zpool zpty _zpty zsetattr _zattr zsh _sh zsh-mime-handler _zsh-mime-handler zstat _stat zstyle _zstyle ztodo _ztodo zxpdf _xpdf )
_etc_hosts=(127.0.0.1 localhost.localdomain localhost ::1 localhost.localdomain localhost)
_global_ssh_hosts=()
_lastcomp=(all_quotes '\' completer complete context command exact '' ignored 0 insert automenu-unambiguous insert_positions 9 iprefix '' isuffix '' last_prompt yes list ambiguous list_lines 1 list_max 100 nmatches 1 pattern_insert menu prefix alsam qiprefix '' qisuffix '' restore auto suffix '' tags ' commands  builtins  functions  aliases  suffix-aliases  reserved-words  jobs  parameters  local-directories  users  named-directories ' to_end match unambiguous alsamixer unambiguous_cursor 10 unambiguous_positions 9 vared '' )
_patcomps=('*/(init|rc[0-9S]#).d/*' _init_d 'zf*' _zftp )
_postpatcomps=('(p[bgpn]m*|*top[bgpn]m)' _pbm '(texi(2*|ndex))' _texi '(tiff*|*2tiff|pal2rgb)' _tiff '*/X11(|R<4->)/*' _x_arguments '-value-,(ftp|http(|s))_proxy,-default-' _urls '-value-,*PATH,-default-' _dir_list '-value-,*path,-default-' _directories '-value-,LC_*,-default-' _locales '-value-,RUBY(LIB|OPT|PATH),-default-' _ruby 'yodl(|2*)' _yodl )
_services=('-redirect-,<,bunzip2' bunzip2 '-redirect-,<,bzip2' bzip2 '-redirect-,<,compress' compress '-redirect-,<,gunzip' gunzip '-redirect-,<,gzip' gzip '-redirect-,<,uncompress' uncompress '-redirect-,<,unxz' unxz '-redirect-,<,xz' xz '-redirect-,>,bzip2' bunzip2 '-redirect-,>,compress' uncompress '-redirect-,>,gzip' gunzip '-redirect-,>,xz' unxz Mail mail bzcat bunzip2 g git ga git-add gb git-branch gba git-branch gc git-commit 'gc!' git-commit 'gca!' git-commit gcmsg git-commit gco git-checkout gcount git gcp git-cherry-pick gd git-diff gdc git-diff gdv git-diff ggpnp git ggpull git ggpur git ggpush git git-svn-dcommit-push git gl git-pull glg git-log glgg git-log glgga git-log glo git-log glp git-log gm git-mergetool gnupod_INIT.pl gnupod_INIT gnupod_addsong.pl gnupod_addsong gnupod_check.pl gnupod_check gnupod_search.pl gnupod_search gp git-push gr git-remote grba git-rebase grbc git-rebase grbi git-rebase grmv git-remote grrm git-remote grset git-remote grv git-remote gss git-status gst git-status gup git-fetch gzcat gunzip iceweasel firefox lzcat unxz lzma xz mailx mail mktunes.pl mktunes nail mail ncl nc nedit-nc nc pacman.static pacman pcat unpack remsh rsh slogin ssh svnadmin-static svnadmin tunes2pod.pl tunes2pod unlzma unxz xelatex latex xetex tex xzcat unxz )
_ssh_config=()
_ssh_hosts=()
aliases
argv=()
bg
bg_bold
bg_no_bold
bold_color
builtins
cdpath=(.)
color=(00 none 01 bold 02 faint 03 standout 04 underline 05 blink 07 reverse 08 conceal 22 normal 23 no-standout 24 no-underline 25 no-blink 27 no-reverse 28 no-conceal 30 black 31 red 32 green 33 yellow 34 blue 35 magenta 36 cyan 37 white 39 default 40 bg-black 41 bg-red 42 bg-green 43 bg-yellow 44 bg-blue 45 bg-magenta 46 bg-cyan 47 bg-white 49 bg-default bg-black 40 bg-blue 44 bg-cyan 46 bg-default 49 bg-green 42 bg-grey 40 bg-magenta 45 bg-red 41 bg-white 47 bg-yellow 43 black 30 blink 05 blue 34 bold 01 conceal 08 cyan 36 default 39 faint 02 fg-black 30 fg-blue 34 fg-cyan 36 fg-default 39 fg-green 32 fg-grey 30 fg-magenta 35 fg-red 31 fg-white 37 fg-yellow 33 green 32 grey 30 magenta 35 no-blink 25 no-conceal 28 no-reverse 27 no-standout 23 no-underline 24 none 00 normal 22 red 31 reverse 07 standout 03 underline 04 white 37 yellow 33 )
colour=(00 none 01 bold 02 faint 03 standout 04 underline 05 blink 07 reverse 08 conceal 22 normal 23 no-standout 24 no-underline 25 no-blink 27 no-reverse 28 no-conceal 30 black 31 red 32 green 33 yellow 34 blue 35 magenta 36 cyan 37 white 39 default 40 bg-black 41 bg-red 42 bg-green 43 bg-yellow 44 bg-blue 45 bg-magenta 46 bg-cyan 47 bg-white 49 bg-default bg-black 40 bg-blue 44 bg-cyan 46 bg-default 49 bg-green 42 bg-grey 40 bg-magenta 45 bg-red 41 bg-white 47 bg-yellow 43 black 30 blink 05 blue 34 bold 01 conceal 08 cyan 36 default 39 faint 02 fg-black 30 fg-blue 34 fg-cyan 36 fg-default 39 fg-green 32 fg-grey 30 fg-magenta 35 fg-red 31 fg-white 37 fg-yellow 33 green 32 grey 30 magenta 35 no-blink 25 no-conceal 28 no-reverse 27 no-standout 23 no-underline 24 none 00 normal 22 red 31 reverse 07 standout 03 underline 04 white 37 yellow 33 )
commands
comppostfuncs=()
compprefuncs=()
dirstack
dis_aliases
dis_builtins
dis_functions
dis_galiases
dis_reswords
dis_saliases
fg
fg_bold
fg_no_bold
fignore=()
fpath=(/home/leshow/.oh-my-zsh/plugins/git /home/leshow/.oh-my-zsh/functions /home/leshow/.oh-my-zsh/completions /usr/share/zsh/site-functions /usr/share/zsh/functions/Calendar /usr/share/zsh/functions/Chpwd /usr/share/zsh/functions/Completion /usr/share/zsh/functions/Completion/Base /usr/share/zsh/functions/Completion/Linux /usr/share/zsh/functions/Completion/Unix /usr/share/zsh/functions/Completion/X /usr/share/zsh/functions/Completion/Zsh /usr/share/zsh/functions/Exceptions /usr/share/zsh/functions/MIME /usr/share/zsh/functions/Misc /usr/share/zsh/functions/Newuser /usr/share/zsh/functions/Prompts /usr/share/zsh/functions/TCP /usr/share/zsh/functions/VCS_Info /usr/share/zsh/functions/VCS_Info/Backends /usr/share/zsh/functions/Zftp /usr/share/zsh/functions/Zle)
funcfiletrace
funcsourcetrace
funcstack
functions
functrace
galiases
histchars='!^#'
history
historywords
hosts=(127.0.0.1 localhost.localdomain localhost ::1 localhost.localdomain localhost leshowbox localhost)
jobdirs
jobstates
jobtexts
key=(Delete '' Down B End '' Home '' Insert '' Left D PageDown '' PageUp '' Right C Up A )
keymaps
mailpath=()
mbegin=(1)
mend=(0)
module_path=(/usr/lib/zsh/5.0.2)
modules
nameddirs
options
parameters
path=(/usr/local/sbin /usr/local/bin /usr/bin /usr/bin/core_perl)
pipestatus=(2)
plugin=git
plugins=(git)
precmd_functions=(omz_termsupport_precmd)
preexec_functions=(omz_termsupport_preexec)
prompt='%{$fg[$NCOLOR]%}%n%{$reset_color%}@%{$fg[cyan]%}%m\
%{$reset_color%}:%{$fg[magenta]%}%~\
$(git_prompt_info) \
%{$fg[red]%}%(!.#.»)%{$reset_color%} '
psvar=()
reset_color
reswords
return_code='%(?..%{%}%? ↵%{%})'
saliases
signals=(EXIT HUP INT QUIT ILL TRAP ABRT BUS FPE KILL USR1 SEGV USR2 PIPE ALRM TERM STKFLT CHLD CONT STOP TSTP TTIN TTOU URG XCPU XFSZ VTALRM PROF WINCH POLL PWR SYS ZERR DEBUG)
status=2
termcap
terminfo
userdirs
watch=()
widgets
zsh_eval_context=(toplevel)
zsh_scheduled_events

Offline

#11 2013-11-11 03:57:06

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: [solved] .config permission issues

WonderWoofy wrote:

When I use zsh and run 'set | grep -i home' I get the same as the OP.  But with bash the grep works just fine.

Yes. Sorry. I don't know why I didn't change the start of the post when I realised this possibility and asked about the shell. My post doesn't actually make any sense.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2013-11-11 05:56:42

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [solved] .config permission issues

BTW Cryptix_00, whats the output for

echo $XDG_CONFIG_HOME

Offline

#13 2013-11-12 01:35:18

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

anonymous_user wrote:

BTW Cryptix_00, whats the output for

echo $XDG_CONFIG_HOME

i think you're on to something, this was the output:

leshow@leshowbox:~ » echo $XDG_CONFIG_HOME
~/.config

Last edited by Cryptix_00 (2013-11-12 01:35:33)

Offline

#14 2013-11-12 01:45:44

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [solved] .config permission issues

Wherever that is set is wrong.  The ~ must be quoted or escaped (as I suggested early on).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#15 2013-11-12 03:34:39

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

where would something like that be set?

Offline

#16 2013-11-12 03:37:41

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [solved] .config permission issues

Wherever you set it.  This will likely find it:

grep -l XDG_CONFIG_HOME ~/.* 2>/dev/null

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#17 2013-11-12 03:44:17

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

hrm. the only place that grep found it was in my .zsh_history, all it found was the echo command i ran from before. can i just manually set it in my .zshrc?

Offline

#18 2013-11-12 03:47:13

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [solved] .config permission issues

You could, but that could have two problems: 1 it could be overwritten by whatever is currently setting it, or 2) the 'new' value you set would only apply to processes that inherit the environment from wherever you set it.  You should really find where the faulty setting is and remove it.

Use similar grep commands to check other places you may have edited config files.  /etc/ would be the next (semi-)logical place to look.

EDIT: a process of elimination could help too: is XDG_CONFIG_HOME set if you log in to a tty?

Last edited by Trilby (2013-11-12 03:48:24)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#19 2013-11-12 03:49:43

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

i found it in my /etc/profile:

export XDG_CONFIG_HOME="~/.config"


ill remove it and report back

Offline

#20 2013-11-12 03:53:43

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

haha! that worked!

thank you SO much for the help, i never would have figured this out..

Offline

#21 2013-11-12 03:55:20

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] .config permission issues

You should not be editing /etc/profile at all unless you really know what you are doing and have good reason to do so.  I see you are a zsh user, so anything that you want should be in ~/.zprofile.

Offline

#22 2013-11-12 03:55:21

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

i should note that i didnt remove it, just changed it to the absolute path /home/leshow/.config

Offline

#23 2013-11-12 03:57:45

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [solved] .config permission issues

I apprently posted one second before you.  So you should scroll up to see what I posted above.

In addition to what I said there, I think that /etc/profile or ~/.zprofile are not the right places to be putting that either.  They are likely better suited to be in ~/.zshenv.

Offline

#24 2013-11-12 03:57:55

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

WonderWoofy wrote:

You should not be editing /etc/profile at all unless you really know what you are doing and have good reason to do so.  I see you are a zsh user, so anything that you want should be in ~/.zprofile.


i think i was following the wiki on setting up xdg properly for bspwm. so i should move that export to .zprofile instead?

Offline

#25 2013-11-12 03:58:40

Cryptix_00
Member
Registered: 2008-07-16
Posts: 137

Re: [solved] .config permission issues

If either of these do not respond with a value, then go to your /etc/profile and add the following lines:
export XDG_CONFIG_HOME="~/.config"
export BSPWM_SOCKET="/tmp/bspwm-socket"

from the bspwm wiki page

Offline

Board footer

Powered by FluxBB