Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-12-2005, 05:53 AM
|
#1
|
LQ Newbie
Registered: Dec 2004
Location: Vila-real (Spain)
Distribution: DEBIAN, MANDRAKE, SUSE
Posts: 11
Rep:
|
Set umask for user in KDE
I am using Mandrake 10.1+KDE. Every time I log in as my user, the umask is 0022. I have tried to set it in .bash_profile and in .profile the mask 0007, but it does not work, every time I log in again the mask is 0022, and with files created with Konqueror file explorer it happens the same.
|
|
|
01-12-2005, 09:39 AM
|
#2
|
LQ Newbie
Registered: Dec 2004
Location: Vila-real (Spain)
Distribution: DEBIAN, MANDRAKE, SUSE
Posts: 11
Original Poster
Rep:
|
Found but only in bash-mode
Ok, I have my answer, so, here it is:
In the file /etc/sysconfig/msec, have replaced the UMASK_USER
UMASK_ROOT=022
SECURE_LEVEL=2
UMASK_USER=007
TMOUT=0
This creates files with mask rw-rw---- in bash-mode, but when using Konqueror as the file manager, it now creates files with rw-rw-r-- (664) mode, not 660 as it sould be. Any ideas?
|
|
|
01-12-2005, 10:41 AM
|
#3
|
LQ Newbie
Registered: Dec 2004
Location: Vila-real (Spain)
Distribution: DEBIAN, MANDRAKE, SUSE
Posts: 11
Original Poster
Rep:
|
Solved in Mandrake 10.1!
Ok, this is the answer for both bash (xterminal) and Konqueror
Go to the "MandrakeLinux Control Center"
Select "Security" - "Levels and Checks" (or something similar, I am using Spanish) - "System Options", and type
Root mask 0027 (or whatever)
User mask 0007 (or whatever)
|
|
|
All times are GMT -5. The time now is 01:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|