Re: "safe" place to put a common "download" directory?



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
.



Relevant Pages

  • Re: [SLE] Partition Magic vs. Linux partitioner
    ... drive is multiboot it only boots it is a LINUX system only ... and was created as a LINUX system. ... 2.the Windows partition is larger than about 8 GB (more ...
    (SuSE)
  • Re: Formatting a partition for Windows XP
    ... What I had in mind, excuse my ignorance, was to have a Win XP partition on ... my Linux system and to use samba to make it visible to the laptop. ... I imagined doing a Windows file copy (or backup) from the laptop root ...
    (Debian-User)
  • Copy whole HD to an other... possible?
    ... linux system (yup, I recently installed SuSE, and really ... ... partition on it ... HD & I dont wanna scrap my boot record. ...
    (comp.os.linux.misc)
  • Re: Viewing pick files without booting
    ...  I'd suggest installing ... a new Linux system and then mounting the old drive. ... a license to use the partition on the new system. ...
    (comp.databases.pick)
  • Re: Copying a Complete Operational Linux System to Another Computer
    ... >> If someone creates an operational Linux system, is it possible to load exactly ... Or if you want an image of a partition, ... zeroes file. ... That's what the partimage or other 'wares are doing... ...
    (comp.os.linux.misc)