LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-07-2002, 01:56 AM   #1
bdu
LQ Newbie
 
Registered: Feb 2002
Posts: 9

Rep: Reputation: 0
Question Restrict directory access


I want to restrict the access of directory D1 to some users in such a way that they can create the files in D1 but cannot read the existing files.

I tried giving -wx rights to that group of users. The problem is that the users cannot copy files to directory D1 using explorer but a simple 'cp' command from console prompt lets them copy files to this directory. I want the users of this group to be able to use explorer/Konquerer to copy files to Directory D1 but restrict their read access. Can anubody help!!
 
Old 02-07-2002, 01:13 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,360
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
This is because by using "cp" you won't need to "ls" the dir to build the representation of the directory contents, a routine an "explorer"-type app would have.

Btw, maybe you want to clarify what is the reason you want to achiev this, and more, whats the security aspect of it? Not being able to read the dir doesn't mean you can't overwrite files/guess filenames.
 
  


Reply


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
How restrict to home directory in telnet session cuencano Linux - Security 3 06-14-2005 06:01 PM
Restrict X server access using /etc/security/access.conf anand_kt Linux - General 0 04-22-2005 09:40 AM
restrict user to home directory at logon pragti Linux - Security 6 02-27-2004 09:00 AM
restrict newuser directory access lonerangerusa Linux - Security 2 05-02-2003 03:41 PM
Restrict access by IP waifurchin Linux - Security 3 02-02-2003 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:47 AM.

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