Compatible Support Forums: Grant permission access to folder. How?

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Grant permission access to folder. How?

#1 User is offline   Hambone 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 09-July 04

Posted 09 July 2004 - 03:53 AM

First off, I'm a totally newbie to Linux/Unix/Ensim.

I have a folder that needs to be accessed by anybody from the internet. I go into my ensim control panel and set the permissions on the folder to:

Permissions
Owner Group Others
Read read read
Write write
Execute

but when I attempt to access the frolder from my web browser I receive the following:

Forbidden
You don't have permission to access /et/ on this server.


--------------------------------------------------------------------------------

Apache/2.0.46 (Red Hat) Server at www.blacksheep-squadron.com Port 80


What am I missing here?

Hambone



0

#2 User is offline   nebulus 

  • enthusiast
  • Group: Members
  • Posts: 214
  • Joined: 05-October 02

Posted 09 July 2004 - 04:10 PM

Others should have at least execute.

For example, you have a folder [tt]test_dir[/tt] and a [tt]file_inside_test_dir[/tt]:

:: If you only want to access [tt]file_inside_test_dir[/tt] your
[tt]test_dir[/tt] permissions could look something like this [tt]drwx-----x[/tt] (others would only need execute)

:: If you want to be able to open [tt]test_dir[/tt] as well, set permissions to something like this [tt]drwx---r-x[/tt]

:: [tt]file_inside_test_dir[/tt] doesn't need to have execute ([tt]-rw----r--[/tt]) unless it's an executable file (in this case [tt]-rwx---r-x[/tt] would be ok).
0

#3 User is offline   Hambone 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 09-July 04

Posted 10 July 2004 - 02:30 AM

Actually it turned out to be an Apache issue. As I stated earlier, my Unix setting we correct. I had to update the Apache file httpd.conf file. Insert 'Options +Indexes' in the <Directory command, thus allowing Directory Browsing. The file persmission of course have to be corret as well.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users