| Re: "safe" place to put a common "download" directory?
"Noozer" <dont.spam@me.here> wrote in message
news:KurGi.168525$fJ5.81601@pd7urf1no...
>I want to create a directory that is read/writeable by all my Linux users.
>
> What would be the 'correct' location for such a directory on a Linux
> system?
>
> /downloads
>
> /usr/share/downloads
>
> /var/downloads
>
> ????
>
> Thanks!
There is a matter of policy here. Some users matntain that you don't mess
with the basic structure of you root directory, and that therefore all
'growable' directories should be in /var, along with logs and your basic web
& ftp servers. Some installs will copy the cd or dvd contents into a
download area on /var, and put udates in there as well
I disagree with that. I have a few partitions for the working system, one
for /home, one for /var, etc.
Then the rest of the 200 gigs is set as a common work area in its own
partition. The mount point is /server.
This way it could just as easily be a separate hard drive.
As already described, you can set user and group settings to suit your
needs. Here, there is a high degree of trust as it is all family, so we have
one big common area for music and videos, separated by various criteria. The
concept of allowing everyone read access to the downloads, but only allowing
the 'owner' to delete the file is very good. This can easily be done by
using a few subdirectories, or allowing on a file by file basis. Then
downloads that are "private" can be stored in the users /home directory.
Stuart |