Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-26-2004, 03:31 AM   #1
LQ Newbie
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Samba problem with copying

I have Suse 9.0 and have configured samba, but a have one problem that a do not know how to solve. When I am copying some file from win 2k to suse 9.0 ls - l writes: -rwxrw-rw- 1 abajde users index2.php. So that makes this file unreadable. Hod do i configure my smb.conf file that atributes when copying will automatically be -rwxwxrwx ?

Thank you all that would help me.
Old 02-26-2004, 09:32 AM   #2
LQ Newbie
Registered: Feb 2004
Posts: 7

Rep: Reputation: 0
I have a similar problem. I have 2 users in the same group who both have access to a share. I have valid users = @group and force creation mask = 777 but when a folder or file is created they get the permissions of drwx------ or -rwx------ respectively. I just can't figure out why it is still doing this when i have the creation mask set to force. Might I need to change something in the unix user or group setup?
Old 02-27-2004, 04:38 AM   #3
LQ Newbie
Registered: Feb 2004
Posts: 2

Original Poster
Rep: Reputation: 0
I do not have probles when i am creating new files or folders, or even editing it. I just have a problem when i am copying from w2k to linux. Do you have any ideas how to solve that problem? That Is how my smb.conf file looks like:
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2003-09-23
workgroup = SAMBA
os level = 65
time server = Yes
unix extensions = Yes
encrypt passwords = yes
map to guest = Bad User
printing = CUPS
printcap name = CUPS
wins support = No
veto files = /*.eml/*.nws/riched20.dll/*.{*}/
security = domain
server string = viljamovka
add user script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false %m$
domain master = yes
domain logons = yes
local master = yes
preferred master = yes
;; ldap server =
winbind uid = 10000-20000
winbind gid = 10000-20000
comment = Home Directories
valid users = %S
browseable = no
read only = No
create mask = 0640
directory mask = 0750
guest ok = no
printable = no
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
guest ok = no
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
browseable = yes
guest ok = no
printable = no
comment = Public_html
path = /public_html/
available = yes
browseable = yes
guest ok = no
printable = no
read only = no
writable = yes
public = no
create mask = 0777
directory mask = 0777
comment = home/abajde
path = /home/abajde/
read only = no
writable = yes
available = yes
browsable = yes
guest ok = no
printable = no
public = no
create mask = 0777
directory mask = 0777


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
Weird problem copying files with Samba... iammike Linux - Networking 2 04-12-2005 05:19 PM
Samba + Copying files akarako Linux - Networking 0 03-19-2004 09:15 AM
SAMBA copying directories thineonly Linux - Networking 6 02-11-2003 04:22 PM
Samba and copying CobraMagic Linux - General 2 10-27-2002 04:07 AM
Samba slow file copying robinsn Linux - Networking 3 06-15-2002 02:18 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:53 AM.

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