[Reply]

HI Jeremy,

Not sure if this will help, but ultimately  file access in Linux is controlled 
by the OS, so you need to manage perms at that level.

Apache is the "user" in Linux in this context, so chown and chmod are your 
command line tools. ie you need to assign rights to apache.

In the httpd.conf configuration files you can manage access to the file system 
and directories that Apache has rights to ( that requires an apache restart ). 
You can also use the .htaccess file ( no restart required) in each of the 
directories concerned.

HTH

Gary








At 07:49 on 26/06/2009 you wrote 
>To  : [email protected]
>CC  : >From: Jeremy Coulter, [email protected]
>Content Type: text/html
>Attached: >
>This is a multi-part message in MIME format.
>
>
>
>
>Hi All.
>Does anyone know if there is a command line tool for Linux that lets you
>assign permissions to an Apache user for a directory?
>I have found how to add a user to Apache fia the command line, but not
>assign the user access to a directory.
>I might have been putting the wrong search phrase into Google tho.
>I HAve found the file I need to manually edit but I am sure there must be a
>tool for this.
> >p.s. yes it DOES have to be done via the command line.
> > >Thanks, Jeremy
>
>
>_______________________________________________
>NZ Borland Developers Group Offtopic mailing list
>Post: [email protected]
>Admin: http://delphi.org.nz/mailman/listinfo/offtopic
>Unsubscribe: send an email to [email protected] with 
>Subject: unsubscribe

Ref#: 41006

_______________________________________________
NZ Borland Developers Group Offtopic mailing list
Post: [email protected]
Admin: http://delphi.org.nz/mailman/listinfo/offtopic
Unsubscribe: send an email to [email protected] with 
Subject: unsubscribe

Reply via email to