cervisia changes file permission

View: New views
4 Messages — Rating Filter:   Alert me  

cervisia changes file permission

by João Borsoi Soares :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I've tried searching this toppic before posting, but with no success. We
use cervisia for a long time, for developing web applications. After my
last OS upgrade (now we use Fedora 10 - cervisia 3.2.2 - kde 4.2.4),
cervisia started to change file permissions when I update files from
cvs. Basically it removes the "other" right to read file contents, which
makes my web application to fail. If I make the update thorough the
terminal, it works fine.

Example:
[joao@freddie lib]$ ls -la L2PDF_Document.inc
-rw-r----- 1 joao joao 2748 Jul 27 11:03 L2PDF_Document.inc

It should be

[joao@freddie lib]$ ls -la L2PDF_Document.inc
-rw-r--r-- 1 joao joao 2748 Jul 27 11:03 L2PDF_Document.inc

I have always to run chmod after cervisia update. Is there anyway to fix
this?

Regards,
Joao Borsoi

_______________________________________________
Cervisia mailing list
Cervisia@...
https://mail.kde.org/mailman/listinfo/cervisia

Re: cervisia changes file permission

by Bugzilla from woebbeking@kde.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Monday 27 July 2009, João Borsoi Soares wrote:
> Hello,
>
> I've tried searching this toppic before posting, but with no success.
> We use cervisia for a long time, for developing web applications.
> After my last OS upgrade (now we use Fedora 10 - cervisia 3.2.2 - kde
> 4.2.4), cervisia started to change file permissions when I update
> files from cvs. Basically it removes the "other" right to read file
> contents, which makes my web application to fail. If I make the
> update thorough the terminal, it works fine.

This is strange as Cervisia runs the command line tool (i.e. cvs
update).

Are you speaking about existing files which were updated or files which
didn't exist before the update and were created by the update?

> Example:
> [joao@freddie lib]$ ls -la L2PDF_Document.inc
> -rw-r----- 1 joao joao 2748 Jul 27 11:03 L2PDF_Document.inc
>
> It should be
>
> [joao@freddie lib]$ ls -la L2PDF_Document.inc
> -rw-r--r-- 1 joao joao 2748 Jul 27 11:03 L2PDF_Document.inc
>
> I have always to run chmod after cervisia update. Is there anyway to
> fix this?


Cheers,
André
_______________________________________________
Cervisia mailing list
Cervisia@...
https://mail.kde.org/mailman/listinfo/cervisia

Re: cervisia changes file permission

by João Borsoi Soares :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Thanks for the answer. It happens with new and old patched files. It happens with update and also on checkout. I've tried also to copy and paste exactly the command from the cervisia window to the terminal, and it works. It happens on my machine and also on my partner machine, both with the same versions.

If it runs as a command tool, could it be any environment variable that makes cvs behaves like that?

Regards,
Joao Borsoi

André Wöbbeking escreveu:
Hi,

On Monday 27 July 2009, João Borsoi Soares wrote:
  
Hello,

I've tried searching this toppic before posting, but with no success.
We use cervisia for a long time, for developing web applications.
After my last OS upgrade (now we use Fedora 10 - cervisia 3.2.2 - kde
4.2.4), cervisia started to change file permissions when I update
files from cvs. Basically it removes the "other" right to read file
contents, which makes my web application to fail. If I make the
update thorough the terminal, it works fine.
    

This is strange as Cervisia runs the command line tool (i.e. cvs 
update).

Are you speaking about existing files which were updated or files which 
didn't exist before the update and were created by the update?

  
Example:
[joao@freddie lib]$ ls -la L2PDF_Document.inc
-rw-r----- 1 joao joao 2748 Jul 27 11:03 L2PDF_Document.inc

It should be

[joao@freddie lib]$ ls -la L2PDF_Document.inc
-rw-r--r-- 1 joao joao 2748 Jul 27 11:03 L2PDF_Document.inc

I have always to run chmod after cervisia update. Is there anyway to
fix this?
    


Cheers,
André

  


_______________________________________________
Cervisia mailing list
Cervisia@...
https://mail.kde.org/mailman/listinfo/cervisia

Re: cervisia changes file permission

by Christian Loose :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/7/28 João Borsoi Soares <joaoborsoi@...>
Hi,

Thanks for the answer. It happens with new and old patched files. It happens with update and also on checkout. I've tried also to copy and paste exactly the command from the cervisia window to the terminal, and it works. It happens on my machine and also on my partner machine, both with the same versions.

If it runs as a command tool, could it be any environment variable that makes cvs behaves like that?
Maybe...here is a list of all environment variables which affect CVS
maybe you have CVSREAD or CVSUMASK set?
Bye,
Christian

_______________________________________________
Cervisia mailing list
Cervisia@...
https://mail.kde.org/mailman/listinfo/cervisia