LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-30-2013, 03:47 AM   #1
Mistreated
Member
 
Registered: Aug 2004
Location: Latvia, Riga
Distribution: Gentoo
Posts: 109

Rep: Reputation: 15
Access permission for digital camera in KDE (dolphin)


I use Kubuntu on a laptop and connect Nikon D3100 to it. KDE grants access to the device via camera:/ path and I usually copy photos to my HDD with dolphin to work with them later.
The problem is that all files are copied with read-only permissions. How can I set the file permission mask for the camera:/?

Thanks in advance!
 
Old 01-31-2013, 02:22 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: Currently: openSUSE, Raspbian, Slackware. Formerly: CentOS, MacOS, Red Hat. Other: Solaris, Tru64
Posts: 1,943

Rep: Reputation: 310Reputation: 310Reputation: 310Reputation: 310
Quote:
Originally Posted by Mistreated View Post
I use Kubuntu on a laptop and connect Nikon D3100 to it. KDE grants access to the device via camera:/ path and I usually copy photos to my HDD with dolphin to work with them later.
The problem is that all files are copied with read-only permissions. How can I set the file permission mask for the camera:/?

Thanks in advance!
Do you mean that the copied files do not have any "write" bits set? I get the same behavior if I copy the from from my camera through a USB connection; all files have "444" permissions. If I pull out the SD card, mount it, and copy the files I get "644" permissions on all the copied files. If you don't have a CF/SD/whatever card reader handy, you can easily fix the permissions on the copied files using:
Code:
chmod u+w,g+w *.JPG
or
Code:
chmod u+w,g+w *.JPG *.CR2
(depending on what sort of files I'm creating in the camera). If you don't need anyone else to be modifying the photos, you can omit the ",g+w" string from the commands.

Hope this helps...

--
Rick

Last edited by rnturn; 01-31-2013 at 02:25 PM. Reason: Added comment about group permissions and fixed some typos.
 
Old 02-01-2013, 02:55 AM   #3
Mistreated
Member
 
Registered: Aug 2004
Location: Latvia, Riga
Distribution: Gentoo
Posts: 109

Original Poster
Rep: Reputation: 15
Thanks, for the reply rnturn!
Yes I have to set the write bits manually, but it's too annoying to do it every time.
I wonder if is there a way to make those permissions automatically set. Maybe somehow through udev rules.. but I think this camera:/ device is managed by KDE.

Any suggestions?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I manually access pictures on a digital camera (outside of KDE and GNOME) Stevithen Linux - General 3 03-15-2012 02:47 AM
Permission problem with my digital camera in gthumb huepfendes_schaf Linux - General 3 08-23-2006 12:02 AM
Access to digital camera only as root BobNutfield Linux - Software 1 04-19-2006 09:57 PM
Digital Camera Access acdc Linux - Hardware 3 01-15-2006 09:01 AM
Digital camera access haobaba1 Linux - General 2 08-04-2003 09:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration