aw Posted August 9, 2010 Report Share Posted August 9, 2010 I've checked in a file from windows, how can I change the file permissions so that the file has the execute bit set when checked out on a Linux system? Thanks, Alex Link to comment Share on other sites More sharing options...
miller Posted August 10, 2010 Report Share Posted August 10, 2010 hi Alex, you need to be on the linux machine, co the file, set the evec bit and ci the file. Regards, Miller Link to comment Share on other sites More sharing options...
aw Posted August 10, 2010 Author Report Share Posted August 10, 2010 I tried the operation again, but I think Plastic requires that the file contents are changed as well for the commit to be valid: alex@alexw-sdp:~/dev/plastic/main/scripts$ cm co checkexports.sh The selected items are about to be checked out. Please wait ... Item checkexports.sh was correctly checked out alex@alexw-sdp:~/dev/plastic/main/scripts$ chmod ugo+x checkexports.sh alex@alexw-sdp:~/dev/plastic/main/scripts$ ll drwxr-xr-x 2 alex alex 4096 2010-08-09 12:12 . drwxr-xr-x 26 alex alex 4096 2010-08-09 11:18 .. -rwxr-xr-x 1 alex alex 6748 2010-08-09 12:12 checkexports.sh alex@alexw-sdp:~/dev/plastic/main/scripts$ cm ci checkexports.sh The selected items are about to be checked in. Please wait ... Error checking in /home/alex/dev/plastic/main/scripts/checkexports.sh. Can't checkin same data for item . I suppose this isn't to big a problem if you know to expect it. Alex Link to comment Share on other sites More sharing options...
dave Posted August 11, 2010 Report Share Posted August 11, 2010 For that case you can use cm ci --nchk checkexports.sh It'll check in even if file contents didn't change. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.