LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-31-2005, 12:42 PM   #1
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Rep: Reputation: 30
Problems with CVS


Ok, here's the problem. I have a system that I dual boot with Win2k and Gentoo. This system has three partitions, an NTFS for W2k, ReiserFS for Gentoo and a VFAT that I use to share files between them.

I have created a local (file system) CVS repository on the shared VFAT partition (/mnt/data/SourceCodeDB). The reason I did this is because I have source code that I work on from both W2K and Linux, and I want it to be stored in the same repository. I can add files, update files and checkout files ok, however, when I try to commit files , it gives me this:

Code:

cvs [commit aborted]: cannot change mode for /mnt/data/SourceCodeDB/some file... : Operation not permitted


The current version of CVS on my system is 1.12.12-r2.

My VFAT partition is mounted like so from fstab:

Code:

/dev/hda3 /mnt/data vfat noatime,user,rw,exec,umask=000 0 0


So, what's wrong and how do I fix it?

Thanks!
 
Old 09-01-2005, 05:30 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,319

Rep: Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701
You must mount the partition as the user running cvs. So replace the option "user" with "uid=cvsuser" or better with "gid=cvsgroup" to allow anyone in the cvsgroup to mount it.
Note that "cvsuser" and "cvsgroup" are the numbers representing that user and that group.
 
Old 09-01-2005, 08:51 PM   #3
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Original Poster
Rep: Reputation: 30
Ok, I tried that, I created a "cvsuser" group with GID=500, added my normal user to the group and I changed my fstab to this:

/dev/hda3 /mnt/data vfat noatime,gid=500,rw,exec,umask=000 0 0

That still gave me the same error, so I tried this:

/dev/hda3 /mnt/data vfat noauto,noatime,gid=500,rw,exec,umask=000 0 0

Now, when I try to mount the partition it says:

mount: only root can mount /dev/hda3 on /mnt/data

Anything else I can try?

Thanks!
 
Old 09-01-2005, 11:32 PM   #4
JoeDuncan
Member
 
Registered: Aug 2003
Location: Ottawa
Distribution: Redhat 5.2, 6.0, 6.1, Mandrake 7.2, 8.0, 9.1, 9.2, 10.0, Gentoo, Debian 3.1r0
Posts: 224

Original Poster
Rep: Reputation: 30
[SOLVED]

Ok, I got it to work with the following line:

/dev/hda3 /mnt/data vfat noatime,user,gid=cvsuser,rw,exec,umask=000 0 0

The "user" option is still necessary to allow regular users to mount the partition, and the "gid" is specified by name, not by id...

Thanks again!
 
  


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
Wine CVS problems? rj686 Linux - Software 3 01-03-2006 07:55 AM
Enlightenment DR 17 CVS Problems Backgrounds? sovietpower Slackware 3 07-03-2005 02:16 AM
WineX CVS problems... Exabit Linux - Games 2 06-20-2005 02:51 PM
CVS Problems nealkochhar Linux - Software 1 05-28-2004 10:04 AM
problems with winex (cvs) evensen Linux - Software 3 05-02-2004 04:08 AM

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

All times are GMT -5. The time now is 06:20 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