FTP question


#1

I added a User to my FTP list named “alan.” He uploaded a file that I need to be able to access, however, the location of the file is in /home/alan. How do I access that file via a browser? The directory “/alan/” does not exist when I list the index of my website. Where does that directory exist?


#2

As it sits now, you can’t… it is just file in that user’s directory. You will have to make it available on the web somehow.

See the above answer . However, there are ways to files in another user’s directories available on your website described in the DreamHost wiki. :slight_smile:

–rlparker


#3

Related situation here but I’m going backwards:
I have an area on my website for clients and I was creating unique directories for each client like:
/client/aa
/client/bb
I created a user aa then remapped the subdir:
from /client/aa to /home/aa/files

I then put the client into its own group as grpaa in case I create more users for each client.
I added my main user to that group as well, so now both users are in the default pgxxxx group and grpaa.

Here’s the issue: I can create files in /client/aa with main, chgrp all files to grpaa, and change all permissions (for now) to 770 or even 777. I can shell in as aa and do the same in /home/aa/files which looks like it’s a real directory - I didn’t create it, the CP created it when I did the mapping. But aa can’t see files created by main and main can’t see files created by aa.

So now that the mapping is created and all permissions are in place, why can’t I see files from both directions?

I hope this helps the OP too…

TIA!


#4

Well if theres no public read permission (ie, xx0) that will basically prevent Apache from accessing the file. If Apache can’t read the file, it won’t serve it.

:cool: openvein.org -//- One-time [color=#6600CC]$50.00 discount[/color] on [color=#0000CC]DreamHost[/color] plans: Use ATROPOS7


#5

That makes sense for the web server, and I didn’t think about that, thanks. But the problem is that I mapped /client/aa to /home/aa/files and whether from shell or FTP, files created in one directory can’t be seen in the other.