Description of problem: 在 /etc/bashrc中配置umask 027,/etc/login.defs配置UMASK 022执行ssh 127.0.0.1 'umask' 获取的值不是027而是027,理论上应该高优先级加载bashrc文件中的环境变量值 Version-Release number of selected component (if applicable): How reproducible: 在 /etc/bashrc中配置umask 027,/etc/login.defs配置UMASK 022执行ssh 127.0.0.1 'umask' Steps to Reproduce: 1. 2. 3. Actual results: 022 Expected results: 027 Additional info:
(In reply to wangshao7674 from comment #0) > Description of problem: > 在 /etc/bashrc中配置umask 027,/etc/login.defs配置UMASK 022执行ssh 127.0.0.1 'umask' > 获取的值不是022而是027,理论上应该高优先级加载bashrc文件中的环境变量值 > > Version-Release number of selected component (if applicable): > > > How reproducible: > > 在 /etc/bashrc中配置umask 027,/etc/login.defs配置UMASK 022执行ssh 127.0.0.1 'umask' > Steps to Reproduce: > 1. > 2. > 3. > > Actual results: > 022 > > Expected results: > 027 > > Additional info:
(In reply to wangshao7674 from comment #1) > (In reply to wangshao7674 from comment #0) > > Description of problem: > > 在 /etc/bashrc中配置umask 027,/etc/login.defs配置UMASK 022执行ssh 127.0.0.1 'umask' > > 获取的值不是027而是022,理论上应该高优先级加载bashrc文件中的环境变量值 > > > > Version-Release number of selected component (if applicable): > > > > > > How reproducible: > > > > 在 /etc/bashrc中配置umask 027,/etc/login.defs配置UMASK 022执行ssh 127.0.0.1 'umask' > > Steps to Reproduce: > > 1. > > 2. > > 3. > > > > Actual results: > > 022 > > > > Expected results: > > 027 > > > > Additional info: