Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-01-2009, 08:30 PM   #1
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
How do I keep users from accessing other users files?

Because I was browsing around in KDE and found out that I can view other users files and they can view mine.

Last edited by M$ISBS; 10-01-2009 at 08:35 PM.
Old 10-01-2009, 08:59 PM   #2
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Originally Posted by M$ISBS View Post
Because I was browsing around in KDE and found out that I can view other users files and they can view mine.
If you want privacy between users, either:

1. Don't allow users to belong to the "users" group, e.,g. create users that only belong to their own "group". This is the easiest way, but it is a bit difficult for a system that is already set up.

2. Change the default file creation permissions for each user so the files cannot be read by others. This is not so easy to implement in a system that is already up.

You can also instruct each user in how to restrict particularly sensitive files to be unreadable by anyone but the owner. Like this:

$ chmod 700 *

From the command line, and a similar command can be issued on a file-by-file basis from most file browsers.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I delete files in /mnt/tmp? and Files in the trash can will not delete? M$ISBS Slackware 15 10-02-2009 11:56 PM
script to delete tmp files Iyyappan Linux - Newbie 8 08-02-2009 06:40 AM
Slackbuild files in /tmp. Ok to delete? Romanus81 Slackware 9 11-05-2008 09:45 PM
How To Delete tmp Files In FC5 zenarcher Fedora 3 09-07-2006 12:51 AM
can i delete /tmp files? demmylls Linux - General 1 03-01-2004 10:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration