Anyone used CVS before? About CVSUMASK.

Posted on 2003-02-19
Medium Priority
Last Modified: 2013-12-16
I have been trying to set up CVS in Unix. Now there is a problem. In the .cshrc file in my home directory, I added setenv CVSUMASK 007 so that the access of newly imported directories in the CVS repository will be rwxrwx---. Well, it works perfectly in my account. But when one of the group members tries to do the same thing, the access will somehow be set to rwxrwxr-x. Does anybody know why? (By the way, I don’t think that this has anything to with umask in Unix.)
Question by:scemo
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 51

Expert Comment

ID: 7987035
each user needs CVSUMASK in her/his .cshrc (or .profile, or whtever)

Author Comment

ID: 7989139
Thank you for your feedback. But his .cshrc file has been changed exactly the same as mine. That's what threw me off totally!

Author Comment

ID: 7991236
I figured it out -- it's a weird answer. My group member copied and pasted the setenv line into the .cshrc file. Although it appears to be on a separate line, in reality there is no hard return between it and the line above. So even though the file gets sourced, it is not properly set up. And fix is so easy: just add a hard return. So there is nothing wrong with CVSUMASK. My bad!
LVL 51

Expert Comment

ID: 8004006
duuh, someone editing these files with non-UNIX tools (like notepad)

Accepted Solution

modulo earned 0 total points
ID: 11511062
PAQed, with points refunded (50)

Community Support Moderator

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question