Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Dec 2007
    Location
    U.S. East coast
    Posts
    303

    Default Unable to move file

    BC 4.1.1-20615 64-bit
    Ubuntu 12.04.5 LTS 64-bit
    Desktop environment: LXDE

    I created a file /tmp/xyzzy owned by my user account. When trying to move the file from /tmp to my home directory, I get the error: "Unable to move /tmp/xyzzy: Permission denied."

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,947

    Default

    Hello,

    If you launch the graphical File Explorer utility, are you able to Move the file from Source to Destination without an elevation prompt? Are you able to perform a Copy in BC4?
    Aaron P Scooter Software

  3. #3
    Join Date
    Dec 2007
    Location
    U.S. East coast
    Posts
    303

    Default

    The default LXDE graphical file explorer utility, PCManFM, does not have a "move" feature, but I can move the file by cutting and pasting it.

    I can also move the file using the shell command "mv /tmp/xyzzy /home/test".

    In BC, I can copy the file from /tmp/xyzzy to /home/test/xyzzy, and I can delete the original file. It's only the one-step "move" that fails.
    Last edited by Dave_L; 19-Oct-2015 at 11:33 AM.

  4. #4
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,947

    Default

    Hello,

    I tested this on my Ubuntu 12.04 and setup a Lubuntu 12.04 (Ubuntu + LXDE) test machine, but the Move command works well. Could you double check your permission settings on the folder, and try a Move command on two test folders within your /home/username/?
    Aaron P Scooter Software

  5. #5
    Join Date
    Dec 2007
    Location
    U.S. East coast
    Posts
    303

    Default

    The Move command works correctly between two test folders within my /home/username/ directory.

    Here are the permissions on the /tmp directory:

    Code:
    $ stat /tmp
      File: `/tmp'
      Size: 20480     	Blocks: 40         IO Block: 4096   directory
    Device: 806h/2054d	Inode: 1310722     Links: 16
    Access: (1777/drwxrwxrwt)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2015-10-19 16:03:44.297385703 -0400
    Modify: 2015-10-19 16:03:37.841425477 -0400
    Change: 2015-10-19 16:03:37.841425477 -0400
     Birth: -

  6. #6
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,947

    Default

    Hello,

    Thanks. And what are the permissions for your subfolder within tmp (xyxxy/) and the file within you are trying to move?

    Another test would be to Create the folder within tmp/ (navigate to /tmp/newtestfolder/ and answer Yes to the prompt to create the new folder), then copy or create a file within the folder using BC4. I'd like to narrow down if there's a permission difference between our setups, and if there is a method to create a file with accessible permissions on your machine.
    Aaron P Scooter Software

  7. #7
    Join Date
    Dec 2007
    Location
    U.S. East coast
    Posts
    303

    Default

    xyzzy is a file, not a folder. Here are its permissions:

    Code:
    $ stat /tmp/xyzzy
      File: `/tmp/xyzzy'
      Size: 31        	Blocks: 8          IO Block: 4096   regular file
    Device: 806h/2054d	Inode: 1310853     Links: 1
    Access: (0664/-rw-rw-r--)  Uid: ( 1001/    test)   Gid: ( 1002/    test)
    Access: 2015-10-19 19:20:00.391090162 -0400
    Modify: 2015-10-19 19:19:59.375095076 -0400
    Change: 2015-10-19 19:19:59.375095076 -0400
     Birth: -

  8. #8
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,947

    Default

    I've set up a similar scenario, but Move, Copy, and Delete work when I'm logged on as the user (test), and if I Switch Users to another, Copy works and Move and Delete fail.

    To confirm: you are currently the user "test", and the Delete that works is the internal BC4 delete, correct?

    If you create a new file in /tmp/ using the File Explorer (PCManFM is the default for my install), then boot up BC4 and attempt to Move it to your /home/test/ folder, it works or also fails?
    Aaron P Scooter Software

  9. #9
    Join Date
    Dec 2007
    Location
    U.S. East coast
    Posts
    303

    Default

    Quote Originally Posted by Aaron View Post
    I've set up a similar scenario, but Move, Copy, and Delete work when I'm logged on as the user (test), and if I Switch Users to another, Copy works and Move and Delete fail.

    To confirm: you are currently the user "test", and the Delete that works is the internal BC4 delete, correct?
    Correct.

    If you create a new file in /tmp/ using the File Explorer (PCManFM is the default for my install), then boot up BC4 and attempt to Move it to your /home/test/ folder, it works or also fails?
    It fails.

  10. #10
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,947

    Default

    Hello Dave,

    Is there anything else about your system setup that might impact access to this location? We've tried on a couple of different VM configurations in office but aren't seeing anything like the issue you are hitting.

    Do you have another/similar machine you could try testing on as well? Does this impact files outside of /tmp/ for you?

    It might also help to get a copy of your BCSupport.zip from the Help menu -> Support; Export. You can email it to us at support@scootersoftware.com along with a link to this forum thread.
    Aaron P Scooter Software

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •