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'm using Ubuntu 10.10 with samba enabled in it, every staff member has his own UserId & Password. I'm using user nobody and nogroup so may the shared files can be used by every one. Now the problem is that i'm also making samba audit log by Sambauser & Ip address and it's making with log with user nobody.
I have changed my shared files with user & group root by doing this my log is working fine i mean that it's making with the user name, but the problem is if User A is making any file so it's read only to User B.
You can see, if a file has root:root as owner and group, and group has only read permission, then how files can be copied? Files created by user A should have A as owner and A's primary group as main group for the file. Then if user B wants to copy that file, then B should be in main group of the file OR the file should have read/write permissions for group as well others.
File permissions do not change if you move or copy them, but it remains what was set originally.
If a file has read only permissions, then first change it to r/w and then try to copy or move. Also check user A i.e. majid's umask value, becuase all files created by majid will get their permissions assigned on basis of umask value set in majid's profile.