Hi guys,
Firstly I'll describe the environment: Basically I have a linux box acting as a CVS server, and the repository is on a remote Windows machine (XP or 2003) for IT reasons :-$
Anyway when I mount the partition to the linux server using smbfs I cannot change the permissions of any of the files/directories to anything other than 555 or 777 - I get this ...
chmod: changing permissions of `hello' (requested: 0444, actual: 0555): Operation not permitted
Due to CVS doing various chmod's under the hood I cannot go with this option.
As an experiment I hooked up another linux box and connected using CIFS and I have no problem. Of course I'd use CIFS on the first box if I could but it's RHEL3 and that doesn't support it.
So if CIFS can do it but smbfs can't then it can't be something on the Windows server side can it? The lines in /etc/fstab's are as follows:
//saturn/CVS /mnt/CVS smbfs defaults,rw,noauto,user,dmask=777,fmask=777,umask=000 0 0
//saturn/CVS /mnt/CVS cifs defaults,auto,noexec,username=cvsuser 0 0
What am I doing wrong?
Thanks
Adam
Firstly I'll describe the environment: Basically I have a linux box acting as a CVS server, and the repository is on a remote Windows machine (XP or 2003) for IT reasons :-$
Anyway when I mount the partition to the linux server using smbfs I cannot change the permissions of any of the files/directories to anything other than 555 or 777 - I get this ...
chmod: changing permissions of `hello' (requested: 0444, actual: 0555): Operation not permitted
Due to CVS doing various chmod's under the hood I cannot go with this option.
As an experiment I hooked up another linux box and connected using CIFS and I have no problem. Of course I'd use CIFS on the first box if I could but it's RHEL3 and that doesn't support it.
So if CIFS can do it but smbfs can't then it can't be something on the Windows server side can it? The lines in /etc/fstab's are as follows:
//saturn/CVS /mnt/CVS smbfs defaults,rw,noauto,user,dmask=777,fmask=777,umask=000 0 0
//saturn/CVS /mnt/CVS cifs defaults,auto,noexec,username=cvsuser 0 0
What am I doing wrong?
Thanks
Adam