[Bug 1802162] Re: "Operation not permitted" error when update

ChaeHee Won 1802162 at bugs.launchpad.net
Thu Nov 8 19:21:56 UTC 2018


I am running Ubuntu with VirtualBox on Windows 10. 
Current CVS source tree is shared by Windows 10 file system which is NTFS file system.
Ubuntu system mount shared directory of the Windows 10 to ~/sandbox. 

Problem is that CVS tried to access file name ".new.cpxkeybd." -- there
is '.' at the end of file name.

Below is list of directory:
chwon at chwon-VirtualBox:~/sandbox/mcci/usb/usbkern/app/hiddemo/catportx$ ls -la
total 76
drwxrwxrwx 1 chwon chwon  4096 Nov  7 18:31 .
drwxrwxrwx 1 chwon chwon  4096 Nov  7 13:17 ..
-rwxrwxrwx 1 chwon chwon  1089 Nov 24  2009 catportx_resource.rc
-rwxrwxrwx 1 chwon chwon  2438 Dec 27  2014 cpxdefs.h
-rwxrwxrwx 1 chwon chwon  4822 Nov  9  2017 cpxmain.c
drwxrwxrwx 1 chwon chwon  4096 Nov  7 13:23 CVS
-rwxrwxrwx 1 chwon chwon  4142 Nov  7 13:25 .new.catportx
-rwxrwxrwx 1 chwon chwon 17003 Nov  7 13:25 .new.cpxkeybd
-rwxrwxrwx 1 chwon chwon 14018 Nov  7 18:31 .new.cpxmouse
-rwxrwxrwx 1 chwon chwon  1624 Jan 25  2016 UsbMakefile.inc

I tried to ls as below. First ls without '.' at the end of file name, second ls with '.' at the end.
chwon at chwon-VirtualBox:~/sandbox/mcci/usb/usbkern/app/hiddemo/catportx$ ls .new.catportx 
.new.catportx
chwon at chwon-VirtualBox:~/sandbox/mcci/usb/usbkern/app/hiddemo/catportx$ ls .new.catportx.
ls: cannot access .new.catportx.: No such file or directory

Please check why CVS adding '.' at the end of file name.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cvs in Ubuntu.
https://bugs.launchpad.net/bugs/1802162

Title:
  "Operation not permitted" error when update

Status in cvs package in Ubuntu:
  Incomplete

Bug description:
  When I tried to update source tree using cvs, I got below errors.

  chwon at chwon-VirtualBox:~/sandbox/mcci/usb/usbkern/app$ cvs -q update
  U hiddemo/catportx/catportx.urc
  cvs [update aborted]: cannot rename file .new.catportx. to catportx.urc: No such file or directory

  I think problem is file name ".new.catportx." is wrong. It should be ".new.catportx" -- no '.' at the end.
  I tried to update again with same command and I got below error.

  chwon at chwon-VirtualBox:~/sandbox/mcci/usb/usbkern/app$ cvs -q update
  ? hiddemo/catportx/.new.catportx
  cvs update: cannot write hiddemo/catportx/catportx.urc: Operation not permitted
  U hiddemo/catportx/cpxkeybd.c
  cvs [update aborted]: cannot rename file .new.cpxkeybd. to cpxkeybd.c: No such file or directory

  There was "hiddemo/catportx/.new.catportx" file in the directory and
  this file was created in previous "cvs -q update" command. Same file
  name problem -- ".new.cpxkeybd." should be ".new.cpxkeybd".

  I am using CVS 1.12.13-MirDebian-8 version. Here is version info using
  "cvs -v"

  chwon at chwon-VirtualBox:~/sandbox/mcci/usb/usbkern/app$ cvs -v

  Concurrent Versions System (CVS) 1.12.13-MirDebian-8 (client/server)

  Copyright (C) 2005 Free Software Foundation, Inc.

  Portions contributed by Thorsten Glaser for the MirOS Project.
  Senior active maintainers include Larry Jones, Derek R. Price,
  and Mark D. Baushke.  Please see the AUTHORS and README files from the CVS
  distribution kit for a complete list of contributors and copyrights.

  CVS may be copied only under the terms of the GNU General Public License,
  a copy of which can be found with the CVS distribution kit.

  Specify the --help option for further information about CVS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cvs/+bug/1802162/+subscriptions



More information about the foundations-bugs mailing list