← Back to team overview

touch-packages team mailing list archive

[Bug 1462504] Re: find does not find camera files for normal user

 

A typo in the bug description :-( :
"A key part of it is "find -name *.JPG", where $me contains the numeric user id" should be
"A key part of it is "find /run/user/$me/gvfs/ -name *.JPG", where $me contains the numeric user id"

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to findutils in Ubuntu.
https://bugs.launchpad.net/bugs/1462504

Title:
  find does not find camera files for normal user

Status in findutils package in Ubuntu:
  New

Bug description:
  I made a script to find an process files in a USB connected camera. A key part of it is "find  -name *.JPG", where $me contains the numeric user id. My user is created as an admin user by the user created during OS install.
  But when this script is run by a normal user, find doesn't, i.e. no data returned. Nautilus pops up as usual when the camera is connected and switched on, "ls /run/user/$me/gvfs/......" with an explicit path also works. So my workaround is an ugly three layer for loop that uses ls instead.

  Have not found any information on this problem on the 'net.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: findutils 4.4.2-9build1
  ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
  Uname: Linux 3.19.0-18-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Fri Jun  5 21:37:39 2015
  Dependencies:
   gcc-5-base 5.1~rc1-0ubuntu1
   libc6 2.21-0ubuntu4
   libgcc1 1:5.1~rc1-0ubuntu1
   multiarch-support 2.21-0ubuntu4
  InstallationDate: Installed on 2015-06-02 (3 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: findutils
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References