Re: "safe" place to put a common "download" directory?
- From: "Michael C." <mjchappell@xxxxxxxxxxx>
- Date: Fri, 14 Sep 2007 11:21:47 GMT
On Fri, 14 Sep 2007 08:19:54 GMT,
Noozer <dont.spam@xxxxxxx> wrote:
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
If it's your system, it's your call.
'/' and '/usr/share' may be mounted readonly on some systems.
Considering the nature of the beast, I'd go with
'/{home,Users}/downloads' and 'man chmod'. Iirc, if you set the
sticky bit on the directory, User1 and User2 can both write to the
directory, but can't delete the other's files. I'm assuming '/home'
or '/Users' exist and are on a separate partition from '/var'. You
don't want to fill var's partition.
If you want to go with '/var/downloads', I'd use it as a mount pt. for
its own partition.
I'd also recommend you make it group writable and make everyone a
member of the group so you can disallow people write access if they
abuse it. (You could also use quotas, or preferably both.)
JMTC,
Michael C.
--
mjchappell@xxxxxxxxxxx http://mcsuper5.freeshell.org/
Reality isn't the way you wish things to be, nor the way they appear to
be, but the way they actually are. - Robert J. Ringer
.
- References:
- "safe" place to put a common "download" directory?
- From: Noozer
- "safe" place to put a common "download" directory?
- Prev by Date: Re: Multiple files editing / changing
- Next by Date: Re: "safe" place to put a common "download" directory?
- Previous by thread: "safe" place to put a common "download" directory?
- Next by thread: Re: "safe" place to put a common "download" directory?
- Index(es):
Relevant Pages
|