Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to run an ftp server on my machine (vsftpd), with anonymous write enabled. I want only the "uploads" folder to be writable and all the others to be read-only. The problem is that I'm not able to set read-only mount permissions on these other folders. The specific line in the fstab file is:
The "/mnt/intersys/Songz" folder is the folder on the fat32 partition which I want to mount as read-only on the "/var/ftp/Songz" folder. However I see that anonymously logged clients are still able to perform write operations here. Delete operations are not possible but that's because the server property disallows that (by setting anon_other_write_enable to 'NO' in the vsftpd.conf file). Can anyone tell me why the ro mount isn't working?
P.S. I've also mounted a folder on a reiserfs partition on /var/ftp with 'ro'and this is working fine. The lines used to mount the vfat and the reiserfs partion are:
Distribution: Lots of distros in the past, now Linux Mint
I'm by no means an expert on this, but from experience, this is partially why MS is moving to NTFS. vfat has no real read/write limits available. Despite attempts to implement a good solution, nothing is really foolproof. There are simply too many ways to access that filesystem. By allowing write access on one folder, you intrinsically allow that on all of them. The permissions in vfat aren't for the folders, but for the drive itself.
Like I said, I'm no expert, but there's a reason MS recommends ntfs for anything critical.