Добро пожаловать, Гость. Пожалуйста авторизуйтесь здесь.
FGHIGate на GaNJa NeTWoRK ST@Ti0N - Просмотр сообщения в эхоконференции RU.LINUX
Введите FGHI ссылку:


Присутствуют сообщения из эхоконференции RU.LINUX с датами от 24 Jan 02 06:01:34 до 23 Aug 24 12:51:58, всего сообщений: 8555
Ответить на сообщение К списку сообщений Предыдущее сообщение Следующее сообщение
= Сообщение: 4969 из 8555 ========================================= RU.LINUX =
От   : Andy Ger                         2:5023/24.3530     03 Apr 18 22:21:04
Кому : Den Grigoriev                                       03 Apr 18 22:21:04
Тема : Ubuntu sucks
FGHI : area://RU.LINUX?msgid=2:5023/24.3530+5ac3e231
На   : area://RU.LINUX?msgid=2:5005/49.3+5ac361ba
= Кодировка сообщения определена как: CP866 ==================================
Ответ: area://RU.LINUX?msgid=2:5005/49.3+5ac41cfc
==============================================================================
Привет, Den!

03 апр 18 18:07, Den Grigoriev -> Andy Ger:

AG>> ~$ ls -l /etc/profile.d/
AG>> итого 8
AG>> -rw-r--r-- 1 root root 660 Июн 17  2012 bash_completion.sh
AG>> -rwxr--r-- 1 root root  68 Апр  3 07:49 java.sh

DG> Файлы из /etc/profile.d выполняются при запуске оболочки для
DG> пользователя. А он у тебя стоит только для root выполняемым!

Та делал я. Без разницы. А тебя не смущает, что рядом лежит bash_completion.sh, и он 644?

В дебиан /etc/profile.d/*.sh выполняются при наличии /etc/profile и только в login shell.


When bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands from the file /etc/profile, if that file exists. After reading that file, it looks for ~/.bash_profile, ~/.bash_login, and ~/.profile, in that order, and reads and executes commands from the first one that exists and is readable. The --noprofile option may be used when the shell is started to inhibit this behavior.

When an interactive shell that is not a login shell is started, bash reads and executes commands from /etc/bash.bashrc and ~/.bashrc, if these files exist. This may be inhibited by using the --norc option. The --rcfile file option will force bash to read and execute commands from file instead of /etc/bash.bashrc and ~/.bashrc.


ЗЫ: Когда я делаю *su - [юзер]* тогда срабатывает. Hо firefox'у всё равно без разницы.
Короче, завтра буду думать.


С наилучшими пожеланиями, Andy.

--- gl es 73 sk ee
* Origin: Debian Wheezy (2:5023/24.3530)

К главной странице гейта
Powered by NoSFeRaTU`s FGHIGate
Открытие страницы: 0.078166 секунды