SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently got my kodak digital camera working with slackie! SWEET! I still have yet to set it up so that normal users can use it, but with root it is fully functional.
So, with su i was able to xfer the pictures into my users home directory. As expected, the user account was unable to view the pictures, or even get into the directory that was created for the pictures.
As root, i did a chmod -R 666 ./pictures, which should give everyone read/write rights right?
Couldn't get in.
As root, i did a chown -R userx ./pictures, which changed the owner to the user, and should get me in.
Couldn't get in.
So, as su, i loaded up konqueror, went into the properties of the file, changed the group to users, and found another option "allow users to enter directory" or something to that extent. Nobody never told me about that option.
After that, i was able to view my pictures. My question is, what should I have done? ok.. i should've set up my camera correctly before rushing into this, but... what should I do if this situation comes up again?
Also, don't forget that you have to have "execute" permission for a directory before you're allowed to view its contents. So using chmod 666 on a directory will make all the files accessible, but users still won't be able to view the directory listing.
I used to always use the numeric chmod arguments, but also have found that r/w/x are much better, and more flexible, but it's a matter of preference
Originally posted by murray_linux
After that, i was able to view my pictures. My question is, what should I have done? ok.. i should've set up my camera correctly before rushing into this, but... what should I do if this situation comes up again?
Thanks,
Murray
If your camera is recognised as a USB storage device
it's a piece of cake :) ... on my old 8.1 and with usbmgr
I get it mounted, and r/w-able for users in /camera ...
"Now that you've got your basic USB system working, you have basically two options to allow user access to USB devices on your Linux system:
allow a certain user and/or group or the whole world access to all USB devices by mounting /proc/bus/usb[1] with adequate user and/or group permissions (default is world-readable and root-only-writable, which is good) "
I don't see an entry in /etc/fstab for that. Should there be? What would it look like if I wanted to give users access to it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.