LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-19-2007, 09:29 AM   #1
AndeAnderson
Member
 
Registered: Feb 2005
Location: Pennsylvania
Distribution: Debian (maybe)
Posts: 237

Rep: Reputation: 30
How to set-up secure download directory


I am working on setting up a secure directory for eBooks. I tried creating a root directory */download with permissions of 0444, password required and set-up a user name and password.

When I tried to access the directory I was denied access, without the option to even put in the password.

Could someone help me with this?
 
Old 09-19-2007, 09:54 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
In order to enter a directory, it needs to have executable permissions. A setting of 444 would mean only read permissions. Hence, it is completely normal that you would get a "permission denied".
Code:
win32sux@candystore:~$ mkdir /tmp/example
win32sux@candystore:~$ chmod 444 /tmp/example
win32sux@candystore:~$ cd /tmp/example
bash: cd: /tmp/example: Permission denied
win32sux@candystore:~$ chmod u+x /tmp/example
win32sux@candystore:~$ cd /tmp/example
win32sux@candystore:/tmp/example$

Last edited by win32sux; 09-19-2007 at 09:55 AM.
 
  


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
LXer: Feds mandates 'secure' Windows set-up LXer Syndicated Linux News 0 03-23-2007 07:46 AM
Download manager that you can set download times? henno Linux - Software 3 03-24-2005 06:49 PM
Secure Subdomain / Directory Problem chadi Linux - General 1 12-23-2004 12:37 PM
How to set up user account (secure email) . . . zthomasz Linux - Newbie 0 05-09-2004 11:47 AM
a secure place to download barelurker Linux - Newbie 23 02-29-2004 07:11 AM

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

All times are GMT -5. The time now is 02:53 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
Open Source Consulting | Domain Registration