LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-10-2011, 06:29 PM   #1
pjgm
LQ Newbie
 
Registered: Jul 2011
Posts: 25

Rep: Reputation: Disabled
Question [SOLVED] Samba new files and folders permissions


Hi all,

I need some help guys...

I'm trying to set the new files and folders created by (W7)Samba user "Sysadmin" with "755" permissions... but no luck...

I check with ftp client and it's always "777"

Here is my smb.conf file:

Code:
[global]
	dos charset = UTF-8
	display charset = UTF-8
	server string = Samba Server
	security = SHARE
	smb passwd file = /etc/samba/smbpasswd
	guest account = guest
	log file = /tmp/samba/log.smbd
	max log size = 40
	name resolve order = lmhosts host wins bcast
	printcap name = /etc/printcap
	dns proxy = No
	force create mode = 0755
	force directory mode = 0755
	inherit acls = Yes
	hosts allow = 192.168.1., 127.0.0.1
	hosts deny = ALL
	printing = lprng
	lppause command = lpc hold '%p' %j
	lpresume command = lpc release '%p' %j
	queuepause command = lpc stop '%p'
	queueresume command = lpc start '%p'
	veto files = /lost+found/Network Trash Folder/.AppleDB/.AppleDesktop/.AppleDouble/:2eDS_Store/.OPEN/.SYSTEM/.secure/.tmp/.torrent/.torrentFile/
	delete readonly = Yes

[External Disk]
	comment = External Disk Access
	path = /External
	valid users = guest, @admingr
	read only = No
	create mask = 0666
	directory mask = 0777
	guest ok = Yes
	default case = upper
	case sensitive = No
	hide unreadable = Yes
	delete veto files = Yes

[External Disk]
	comment = External Disk Access
	path = /External
	valid users = guest, @admingr
	read only = No
	create mask = 0666
	directory mask = 0777
	guest ok = Yes
	default case = upper
	case sensitive = No
	hide unreadable = Yes
	delete veto files = Yes

[Public]
	comment = Public Access
	path = /home/Public
	write list = @admingr
	force create mode = 00
	force directory mode = 00
	hosts allow = 192.168.1.
	wide links = No

[sysadmin]
	comment = Private Access
	path = /home/sysadmin
	write list = sysadmin
	create mask = 0755
	directory mask = 0755
	hosts allow = 192.168.1.
	wide links = No
cheers
PJGM

Last edited by pjgm; 08-24-2011 at 04:24 PM.
 
Old 08-24-2011, 04:23 PM   #2
pjgm
LQ Newbie
 
Registered: Jul 2011
Posts: 25

Original Poster
Rep: Reputation: Disabled
OK,

http://www.linuxquestions.org/questi...folder-605129/

solved

Thanks
pjgm
 
  


Reply



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
file permition banajah Linux - Newbie 2 03-09-2008 10:30 PM
permition's ishue ? vinnywrite Slackware 8 09-22-2007 10:13 PM
Mount partition permition Negatifo Linux - General 3 09-14-2007 03:30 PM
permition problem with mounted fs ivan.tg Slackware 2 02-02-2004 02:28 PM
raw socket permition moonloader Linux - Networking 2 12-08-2003 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:19 AM.

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
Open Source Consulting | Domain Registration