Welcome, Guest
Username Password: Remember me

can't cobbler writable file issues in Perforce
(1 viewing) (1) Guest
Perforce
  • Page:
  • 1

TOPIC: can't cobbler writable file issues in Perforce

can't cobbler writable file issues in Perforce 1 year, 9 months ago #311

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44558
  • Karma: 4
  • Honor Medal 2009
Hi,

I often get this issues in perforce client
can't cobbler writable file

But when do force sync this error go and instead of doing force sync and spending hell lots of time, is there any ways where i can get rids of this and get the latest file in my working location?
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar

Re: can't cobbler writable file issues in Perforce 1 year, 5 months ago #406

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44558
  • Karma: 4
  • Honor Medal 2009
Solution:

When we sync the Head Revision We very often get one Info warning that "Can’t clobber writable file". it’s very easy to force sync in case of less number of files. But when you have list of files this become tedious and time taking to do force sync.

The main reason for this issues is files under source control were marked as read-only and when a file is checked out or while editing in Editor(Eclipse, VS Studio), then it removes the read-only attribute.

To solve the issues, marked every file as read-only and get the latest revision without any errors.
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar

Re: can't cobbler writable file issues in Perforce 1 year, 5 months ago #433

  • brajesh.rai
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Points: 47
  • Karma: 0
another way is open clientspec

p4 client
and change the options

Options: noallwrite clobber compress unlocked nomodtime rmdir

Re: can't cobbler writable file issues in Perforce 1 year, 4 months ago #474

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44558
  • Karma: 4
  • Honor Medal 2009
Thanks for useful comments. I feel this would be more handy in unix environment...
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar
  • Page:
  • 1
Time to create page: 0.80 seconds

     
    
Home Forum