Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Anyone used CVS before? About CVSUMASK.

Posted on 2003-02-19
6
Medium Priority
?
348 Views
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.)
0
Comment
Question by:scemo
  • 2
  • 2
5 Comments
 
LVL 51

Expert Comment

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

Author Comment

by:scemo
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!
0
 

Author Comment

by:scemo
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!
0
 
LVL 51

Expert Comment

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

Accepted Solution

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

modulo
Community Support Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month15 days, 14 hours left to enroll

581 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