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 have a 80 gb hard drive as the third drive on a linux sytem, i was sharing 2 40 gb fat32 partitions but i wanted to try with ext3 so i created a single partition using fdisk.
I formated using : mkfs -V -t ext3 /dev/hdd1 . But when I try to mount this drive using this fstab entry
only thing i notice is that i think the option for letting users mount it is "user" not "users". just guessing. maybe specifying umask in real octal would be an idea too, like umask=0022
No problem. The line in fstab would look something like:
/dev/hdd1 /mnt/80gb ext3 user 0 0
Note: Mounting a filesystem with the "rw" option seems redundant, because that is default anyway. The "owner" option is also not needed, since the "user" option is being used. Using both would also be redundant.
You're very welcome. Yes, when you pass the "R" option to chmod or chown, which stands for "recursive", you are also changing the permissions of everything within that directory. And yes, if you add new files, you'll need to change the permissions of those too.
I will be adding files in a regular basis, and it is posible that other users will add files via ftp too, so i would have to change the permisions every time someone uploads a file in order for the rest of the users be able to see them ?
If that is the case:
When i worked with vfat partitions i could use the umask option to set the permisions, is there a way of doing that with an ext3 partition.
Well whenever you add a file, make sure it already has the permissions you want before putting it in there, and have the users who upload files do the same. When a file is put in that directory, its permissions won't change, they'll be the same as when they were somewhere else.
Ah, well I'm not sure what the settings default to if it didn't have permissions in the first place, but my guess is that they default to whatever the actual directory's permissions are...and if that's true, then there's no problem. Just my guess though, make sure you actually check and let me know.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.