Quote:
Originally Posted by Mistreated
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