Linux Certification, System Administration, Programming, Networking Books
Samba File Permission

In Samba, how I open permission for ALL Windows User to access Text documents?

Do all text documents have an identifiable suffix? If so, start with this
find . -name "*.txt" -exec chmod ugo+rw {} \;

I have a RH6.2 server with a directory that I would like to share with the entire network using Samba 2.2.1a. This share should be read only by everyone except for a number of individuals who should be able to write to it.

The individuals who I want to write to it have SAMBA and UNIX accounts the same as their NT accounts. Encrypted passwords (win 9x and NT) clients have been enabled and configured. Supposing that John is a user with write permission, I should be able to connect to the share and write to it, but anyone else is denied.

Share level security is enabled. Among the definition of this share is a

read only = yes
write list = john

The problem I'm noticing when I run 'smbstatus' is that Samba thinks user nobody.nobody has connected to the server, when the user is really john! How do I train samba to revalidate the user as John and let him write. Underlying file permissions have been configured to allow UNIX user john the ability to write.

If it's john's directory the unix permissions should do what you want.  Does samba know about john?
smbpasswd -a john
creates a user that it will recognize; linux permissions 755 will do the rest.

I have a samba server which gets users and passwords with winbind from a W2K domain controller.  When I try to edit the the file permissions by right clicking the directory from a W2K host ( even as Admin ) it says I dont have access.

Do I have to install some sort of ldap ?, Do the shared directories have to be on an NTFS partition in LINUX ?

I think I have IPSec Kerberos 5 already running.

Check your /etc/samba/smb.conf... Look at the permissions you have set for the share
[share]
comment = blah blah blah
path = /home/some_dir
valid users = root some_other_user
public = no
writable = yes
printable = no
create mask = 0765

Quick Links:
Do you have a Linux Question?

Linux Home: Linux System Administration Hints and Tips