LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2008, 01:51 PM   #1
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Rep: Reputation: 31
CVS Permission issues on creating new modules


I'm currently managing a small CVS server on my Linux server 2.6.21-2-486 (Debian Lenny) running Concurrent Versions System (CVS) 1.12.13. I have an issue where when new files and modules are created permissions are not being set correctly.

I'd like everything in my CVSROOT to chown to AdminAccount:cvs but currently its UserThatCreated:AnotherGroupDependingOnUser

Thanks in advance,
David
 
Old 05-29-2008, 02:42 PM   #2
xaos5
Member
 
Registered: Dec 2004
Distribution: debian and slackware
Posts: 217

Original Poster
Rep: Reputation: 31
bump ^^^^^^^^^^
 
Old 05-29-2008, 09:05 PM   #3
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
This sounds more like a file system problem than a CVS problem. If you set the group sticky bit on a directory, the files and directories that are created inside it will inherit its group ownership instead of being assigned the user's primary group. For example:
Code:
$ ls -ld /usr/local/cvsrepos/webs
drwxrwsr-x 8 cvs cvs_webs 4096 2006-06-04 07:59 /usr/local/cvsrepos/webs
$ ls -l /usr/local/cvsrepos/webs
total 40
-r-xr-xr-- 1 cvs   cvs_webs 2287 2002-03-17 06:40 copyweb.bat,v
drwxrwsr-x 6 cvs   cvs_webs 4096 2006-12-07 05:20 inflections
drwxrwsr-x 2 steve cvs_webs 4096 2006-02-12 05:32 monthly
drwxrwsr-x 2 steve cvs_webs 4096 2006-02-12 05:34 pricing
-r--r--r-- 1 steve cvs_webs 1705 2005-07-05 05:46 runsheet.txt,v
drwxrwsr-x 2 steve cvs_webs 4096 2007-10-24 08:30 steve
-r-xr-xr-- 1 cvs   cvs_webs 4938 2002-06-02 05:10 webclean.pl,v
If it's any use, there's some info on this at http://rute.2038bug.com/node17.html.gz
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cvs user permission alanchansl Linux - Software 1 07-05-2006 06:20 AM
Deleting modules in SourceForge's CVS Hikaru79 Programming 0 05-18-2005 09:03 PM
Creating CVS repository: cvs [import aborted]: attempt to import the repository enemorales Linux - Software 3 10-15-2004 05:30 PM
cvs import: permission denied for dskny Linux - Software 0 07-12-2004 05:28 PM
CVS local repository - permission denied gandalf2041 Linux - Software 0 03-19-2004 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration