Re: [AVFS] avfs in web server
Miklos Szeredi <[email protected]> Wed, 20 Oct 2010 13:23:29 +0200
| Newsgroups | gmane.comp.file-systems.avfs.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 20 Oct 2010, Daniel Bengtsson wrote: > I tried to set up avfs for my web server with the purpose of being able to > download individual files from zip archives. However I just get 404 when I > try to access the .avfs directory. In the bash shell it works fine. I used > mountavfs with the user that is running the web server first. > > But I see if I ls -la the users home directory with another user I see > this: > > drwxrwxr-x 5 root www-data 122 2010-10-20 12:02 . > drwxr-xr-x 15 root root 151 2010-02-12 22:36 .. > ?????????? ? ? ? ? ? .avfs > > Any ideas why it's not working ? Try adding the "-oallow_other" option to avfsd in the startup script. Note, unlike web servers avfsd does not provide any additional security, so with the "allow_other" option all users will be able to read/write files with the credentials of the user who started the avfs daemon. Because of this it is *very strongly* discouraged to run avfsd as root with "allow_other". Thanks, Miklos ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev