find does not find camera files for normal user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
findutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
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/
Have not found any information on this problem on the 'net.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: findutils 4.4.2-9build1
ProcVersionSign
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)
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"