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.
Here's the scoop: I need to mount a samba share on my Macintosh from a user account in my Knoppix-powered Dell.
When I do, Knoppix seems to honor the group permissions found on the Mac, rather than the user permissions - meaning I can neither read nor wrote to certain directories unless I give those permissions to the group on the Mac itself - a lot of work since many directories don't have the group permissions I need.
I used to solve this problem in Red Hat by making an entry in FSTAB but here's the thing: when you boot into Knoppix it edits the FSTAB each time (even a HD install) and so my entries keep getting changed! I therefore have been using the following shell script to mount the shares, logged into a shell as root but using an ordinary user account in Knoppix (ie not logged into a root KDE session, etc)
I'm not that familiar with Knoppix though, so I'm not sure how you'd go about making that stick after a reboot. I presume you could remaster the CD, if you're using a CD. Else place it in a script and run that script on bootup.
I found a flaw in my syntax, and now I am actually able to modify FSTAB to retain the smb shares on reboot. However, I still have the same issue that I had before: even though I specify the username in the fstab entry, only resources with "other" permissions can be read or written on the Mac.
I strongly suspect the following is the reason: while the username is the same on both machines, my primary username = UID 1000 in Knoppix but UID 501 on the Mac! I think that when I am logged in as root in KNoppix this distinction doesn't matter, but when when I am in the user account, the Knoppix PC isn't concerned that the username is the same on the Mac's files, it looks at the numeric UID and bases its permissions on that, despite my having dmask=777 and fmask=777 in the fstab entry. Any ideas as to why my dmask and fmask aren't working?