Opened 14 years ago

Closed 14 years ago

#25515 closed defect (wontfix)

sync failure when some files in svn-based source have insufficient permissions

Reported by: wustenfuchs@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.9.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by jmroot (Joshua Root))

Failing to selfupdate using 10.5.8: py26-pylibpcap related failure.

Command line output:
CPE-124-179-99-81:~ Rommel$ sudo port -ds selfupdate
Warning: No index(es) found! Have you synced your source indexes?
--->  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from file:///opt/mports/trunk/dports
DEBUG: /usr/bin/svn update --non-interactive /opt/mports/trunk/dports
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
svn: Can't open file '/opt/mports/trunk/dports/python/py26-pylibpcap/.svn/lock': Permission denied
shell command "/usr/bin/svn update --non-interactive /opt/mports/trunk/dports" returned error 1
DEBUG: shell command failed
    while executing
"system $svn_commandline"
Error: Synchronization of the local ports tree failed doing an svn update
DEBUG: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed

Change History (3)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Component: portsbase
Description: modified (diff)

What do you think base should do in the situation where it can't read part of your ports tree?

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Since "sudo" was used to request that MacPorts run with root privileges, why is there anything it can't read?

comment:3 in reply to:  2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed
Summary: selfupdate failure 10.5.8sync failure when some files in svn-based source have insufficient permissions

Replying to ryandesign@…:

Since "sudo" was used to request that MacPorts run with root privileges, why is there anything it can't read?

Because sync changes euid/egid to the owner of the svn checkout when updating it.

Note: See TracTickets for help on using tickets.