Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 created a fat32 partition which mounts at /mnt/win_d
I want to be able to drop files into this directory from my user accounts. I executed chmod 777 /mnt/win_d as root. ls-l reveals that /mnt/win still has permissions of: drwxr--r--
What gives? Am I not allowed to chmod mount points? How do I open up this shared partition to my user accounts so I can place files on this partition to share with windows?
The permissions of the directory get overridden in favour of the filesystem permissions when one gets mounted at that mount point. If you want write permissions you'll have to specify them in /etc/fstab. I'm not sure whether "user" will solve your problems (but try it), you may need to specify gid=<user group number> and/or uid=<your user name/number>.
I ended up configuring the partition with mandrake, as I found an advanced setting burried in the menus which allows that partition to be accessed by all users.
On an unrelated note, would either of you know where the linux equivalent of M$'s "startup folder" is?
if you're using kde it is
~/.kde/Autostart
you can place things there to be started automatically. It's best done with a script placed there (make sure you make it executable).Placing links (something like shortcuts) could work too. I'm not sure. just try.
Another place is
~/.bashrc
But this might not be the right place for your purposes.
On an unrelated note, would either of you know where the linux equivalent of M$'s "startup folder" is?
For each run level in Mandrake there is a corresponding directory which contains S symlinks which point to the actuall services in /etc/rc.d/init.d - these symlink directories are /etc/rc.d/rcx.d were x is simply the respective run level - you can start or stop certain services on boot up by taking out or putting in these symlinks to the actual services - I wouldnt advise jumping straight into this but read up on it first so youve got a better grasp, both of what youre doing and what services your modifying.
It seems that your fstab file is not formatted very well. You could format it using the tab key and field headings. The headings are:
#<file system> <mountpoint> <type> <options> <dump> <pass>
Note the "#" at the start of the line. It's not a heading but will have to be there to comment out the line otherwise it linux will try to parse it.
Hmmm... You still have hashes in all you lines. I only meant for you to put them in the title line (the one with <file system> <mount point> etc). This then gives you a clear bunch of fields to work with. Mine looks like this:
Putting a hash in the line comments out the line. Sorry I wasn't clear enough on that. I can't believe that file worked. You've commented out everything.
Edit: Grrr.... I can't get this properly formatted on this site. You'll have to use your imagination. I looks great on the edit page but crappy on the post. All I was saying was that if you format it nicely, you'll find it easier to read.
Okay, I interpretted your comment originally to mean that I should put the hashes on each line of /etc/fstab. After I got it working without them, I thought you meant to put them in the example of the file that I post, to compensate for the forum software's wordwrap. I don't have any hashes in my real file, I just put them in the version that I posted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.