Mailinglist Archive: opensuse (2035 mails)

< Previous Next >
Re: [opensuse] ness some help with apache2
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Sun, 09 Sep 2007 21:28:58 -0500
  • Message-id: <46E4ABEA.6050002@xxxxxxxxxxxxxxxxxx>
Leen de Braal wrote:
> Hi all,
> 
> Running apache2.0.50 on a 9.2 system.
> What I want to do is give ro access to a directory out of the /srv/www
> tree, containing backed-up files of another system, so that the users can
> get their files back by using a browser to dig into their backup.
> 
> To achieve that i did a readonly nfs-mount of the backup-dir, into the
> srv/www/htdocs tree.
> Now when users go see their files, a lot (well, all really) of the
> sub-directories in their backup is missing. I found out that if I do chmod
> o+x, they all show up.
> 
> 
> 

Not sure about the Apache way, but just remember +x mean execute (AND
access).

man chmod

(x),  execute/search only if the file is a directory
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

So the +x allow them files to show up makes perfect sense


-- 
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References