[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Problem with /tmp directory

From: Billy Shaw <billy_at_sceneunseen.com>
Date: 2005-05-16 17:58:37 CEST

Hi.

This is pretty basic Unix stuff. Setting /tmp to 777, well it may work, is
not a good idea. Really, /tmp should have the sticky bit set. You should
set permissions to 1777 (drwxrwxrwt) vice just 777.

Be sure to check man pages. :)

From chmod man page:

STICKY DIRECTORIES
When the sticky bit is set on a directory, files in that directory may be
unlinked or renamed only by root or their owner.

Without the sticky bit, anyone able to write to the directory can delete
or rename files. The sticky bit is commonly found on directories, such as
/tmp, that are world-writable.

Regards,
Billy-

> Hello,
>
> I have a problem running svnsrve within xinetd. The daemon is startetd
> and I can connect. If I try to commit some stuff with tortoisesvn form
> my windoze svnserve complains about a non writeable tmp directory.
> When I set permissions of the /tmp directory to 777 it is working.
>
> Is it possible to set an alternate tmp directory for svnserve?
>
>
> Thanks alot,
> gerd
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 16 17:04:26 2005

This is an archived mail posted to the Subversion Users mailing list.