🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #9401

[Posible OT] Bit uid en /usr/bin/cvs

#9401
From: Alvaro Sanchez-Mariscal
Date: Wed, 24 Jul 2002 17:08
36 lines
2151 bytes
Hola:

Tengo un servidor CVS pserver funcionando correctamente. El problema es 
que cuando trabajo en el ordenador en el que est� el repositorio, todos 
los archivos nuevos se crean con el usuario root. Esto se soluciona 
quitando el bit uid en /usr/bin/cvs. Pero si hago esto, las m�quinas 
remotas no pueden acceder al repositorio.

En la m�quina del repositorio:

[mariscal@morfeo mariscal]$ ll `which cvs`
-rwsr-xr-x    1 root     root       513100 feb 19 17:04 /usr/bin/cvs
[root@morfeo mariscal]# chmod -s /usr/bin/cvs
[root@morfeo mariscal]# ll `which cvs`
-rwxr-xr-x    1 root     root       513100 feb 19 17:04 /usr/bin/cvs


Despu�s, en una m�quina remota:

[mariscal@duke practicaSep2002]$ ll `which cvs`
-rwxr-xr-x    1 root     root       513100 feb 19 17:04 /usr/bin/cvs
[mariscal@duke practicaSep2002]$ cvs update
setgid failed: Operation not permitted

�Qu� hay que hacer?

-- 
..::..::..::..::..::..::..::..::..::
Alvaro Sanchez-Mariscal Arnaiz
Universidad Carlos III de Madrid
Servicio de Informatica

Despacho 15.0.07
C/ Madrid, 126 - 28903 GETAFE
mariscal@di.uc3m.es 91 624 57 55
..::..::..::..::..::..::..::..::..::
Technical Details
Message-ID: <3D3EDF18.5050808@di.uc3m.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!213.37.50.186!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,225d1da40dbaa8a9,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-07-24 10:11:22 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!213.37.50.186!not-for-mail
From: Alvaro Sanchez-Mariscal <mariscal@di.uc3m.es>
Newsgroups: es.comp.os.linux.programacion
Subject: [Posible OT] Bit uid en /usr/bin/cvs
Date: Wed, 24 Jul 2002 19:08:40 +0200
Lines: 37
Message-ID: <3D3EDF18.5050808@di.uc3m.es>
NNTP-Posting-Host: 213.37.50.186
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1027530681 31591983 213.37.50.186 (16 [146972])
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513
X-Accept-Language: es-es, en-us, en