LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-19-2006, 07:39 PM   #1
tntcoder
Member
 
Registered: Sep 2003
Distribution: Arch
Posts: 89

Rep: Reputation: 15
Samba Config/Permissions


Hi,

I have ran 'smbpasswd -a jack' and jack is the windows xp username that i want to have full write access to the share. When i access the share under this user, i have write/read access, but i cannot view all files, for example if i create a file remotly as 'root' it does not show up on the share.

Ideally what i want to do is have complete read/write to this one user on the share under windows. And also allow read only guest access, again to all files on the share. I am really confused as do how i do this. I have not created a system user 'jack' on the linux host, I simply ran smbpasswd.

So if someone could tell me what file system permissions i need, and what samba umasks e.t.c are required, for a specific user to have full access and everyone else read only guest access that would be great.

This is my samba config:

Code:
[global]
	workgroup = MYGROUP
	server string = TStorage - Samba Server
	security = SHARE
	log level = 4
	log file = /var/log/samba.%m
	max log size = 50
	server signing = auto
	preferred master = No
	domain master = No
	dns proxy = No
	ldap ssl = no
	read only = No
	case sensitive = No
	msdfs proxy = no

[drive_2]
	comment = HDD [SATA2]
	path = /mnt/media2
	create mask = 0755
	hide special files = Yes
	hide unreadable = Yes
	hide unwriteable files = Yes

Thanks very much for any help.
Jack

Last edited by tntcoder; 06-19-2006 at 09:02 PM.
 
Old 06-19-2006, 10:54 PM   #2
prozac
Member
 
Registered: Oct 2005
Location: Australia
Distribution: slackware 12.1
Posts: 753

Rep: Reputation: 32
Quote:
but i cannot view all files, for example if i create a file remotly as 'root' it does not show up on the share.
IMO, this is because of

hide unwriteable files = Yes

obiviously files created by root are not writable to jack.
Quote:
Ideally what i want to do is have complete read/write to this one user on the share under windows.
you can set a umask or change the owner of every new_dir you create to jack.

Quote:
And also allow read only guest access, again to all files on the share.
set guest=yes, I suppose

Last edited by prozac; 06-19-2006 at 10:55 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsftpd config: permissions with NTFS problem komadich Linux - Newbie 2 10-10-2010 10:34 AM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 06:55 PM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 10:36 AM
SAMBA says 'Samba Server is not accebile, you might have no permissions' Ahmad Gurchani Linux - General 1 01-01-2005 11:34 AM
possible samba config problem or network config issue? rruffin Linux - Networking 3 06-03-2003 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration