View Single Post
  #5   (View Single Post)  
Old 24th July 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by hanzer View Post
I've been updating the source as root...
Your permission errors require the use of the famous ls(1) command. Your CVS/Tag files, at the very least, are either not owned by group wsrc or do not have write access by the group. Or both.

There are many ways to correct this. The fastest would be to use find(1) with xargs(1) and either chown(1) or chmod(1). Or both.

Here's an example command to change ownership. Be careful. I'm just typing this from between my assumptions, and have not tested this. I may have syntax errors, or ... worse. Deploy some test files in /tmp and test something similar there, before doing this to your source tree.

# find /usr/src -name Tag | xargs chown root:wsrc

You can also delete and then recreate the source tree from CVS as the user hanzer, if you prefer, though that takes much longer.
Reply With Quote