Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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've got a 256MB Cruzer Mini. I just reformatted it to ext2. I can mount it, and I changed the permissions to /mnt/cruzer so that I can read and write to it as a normal user. However, when I mount it, the permissions change so that only root can write to it. How do I stop this from happening?
If it's formatted as ext2, the permissions shouldn't change on mounting. You did change the permissions while it was mounted, didn't you? Otherwise, you changed permissions on a mount point, which does nothing.
Originally posted by Matir If it's formatted as ext2, the permissions shouldn't change on mounting. You did change the permissions while it was mounted, didn't you? Otherwise, you changed permissions on a mount point, which does nothing.
Aah. . . I knew I had to change the permissions to /mnt/cruzer, didn't realize I had to mount first. Thanks - that fixed it!
No problem. FYI, I usually keep my usb drives formatted fat32 for the rare use on a windows machine. Also, make sure you mount with 'noatime'. Check out sync vs async mounting behavior as well.
noatime means the kernel does not try to keep a record of the last access time for a file. This generates a lot of extra writes (when atime is enabled) and usb overhead. If you weren't aware, flash media DOES have a limited number of writes (on the order of tens of thousands, though). Still, one write per file you open, plus per directory you cd to or do an ls on. And if you use a GUI that generates thumbnails, one write per file that exists in each directory you browse to, etc. It can add up.
Well, that's interesting. I'll give it a try. You add that into your /etc/fstab file right?
Not 100% sure it's worth it, though - I got mine a while back for Christmas (guessing it was like $70 back then) but I haven't used it much since - I used it to share some files for school with friends, but that's pretty much it. Plus, unless you wanna go beyond 1GB, you can get those things for pretty cheap.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.