View previous topic :: View next topic |
Author |
Message |
Ralphus Maximus Tux's lil' helper


Joined: 22 Jul 2002 Posts: 148 Location: At Large
|
Posted: Wed Sep 11, 2002 6:01 pm Post subject: Samba and permissions |
|
|
I have a box that is going to replace a 'doze server. Apache is currently up and operating fine. Samba, on the other hand....
I have the shares Opsreg and test set up on the Gentoo box.
I can see the box from my 'doze machines (they're all w2k), I can see the shares.
I can create and delete directories on the share.
I get a write protect error when I try to copy files from a 'doze box.
I can, however, copy files from one share to the other on a 'doze box.
If I copy a file from Opsreg to test (or vice-versa) I can see the file.
If I populate the share directory from the Gentoo box, the files are not seen but the directories are.
Here's the smb.conf file.
Code: | # Samba Configuration File
# Date: 06/02/2002 2:06 AM
# Global parameters
[global]
server string = Sapa Test
netbios name = SAPATEST
workgroup = SAPA_SERVER
os level = 34
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
admin users = root
domain admin group = root
password level = 8
username level = 8
username map = /etc/samba/smbusers
log file = /var/log/samba/%m.log
hosts allow = 127.0.0.1 134.133.
log level = 1
max log size = 50
name resolve order = wins bcast host
time server = yes
deadtime = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_LOWDELAY
dns proxy = no
wins support = yes
invalid users = mail deamon / bin sync shutdown halt init
veto files = /.?*/?*.*/.?*.*.*/
follow symlinks = no
guest ok = no
read raw = yes
write raw = yes
getwd cache = yes
[test]
comment = Test Share
path = /home/stuff
writeable = yes
create mask = 0644
directory mask = 0755
guest ok = no
[Opsreg]
comment = Opsreg
path = /home/Opsreg
writeable = yes
create mask = 0644
directory mask = 0755
guest ok = no
|
Anyone have any suggestions?
Cheers,
RM |
|
Back to top |
|
 |
eivinn Apprentice


Joined: 10 Jul 2002 Posts: 219 Location: Norway
|
Posted: Thu Sep 12, 2002 7:39 am Post subject: |
|
|
I think you should specify from whitch computer you are getting the write error etc... Would be nice if you wrote down each step.
As I can figure out you get a write error when copying files from a doze box to Samba, right?
From my experience with smb.conf you forgot to specify which users are allowed to write to the share. I think you should set up a public share like this:
Code: |
[public]
comment = Public stuff
path = /home/public
write list = @users
|
The above code makes all users in group users have access to write to /home/public. Be sure to make the right chmod on it before editing smb.conf
Hope this helps. |
|
Back to top |
|
 |
Ralphus Maximus Tux's lil' helper


Joined: 22 Jul 2002 Posts: 148 Location: At Large
|
Posted: Thu Sep 12, 2002 3:24 pm Post subject: |
|
|
Just to be clear,
On my windows machine, I can create and delete directories on the Samba share.
On my windows machine, I get a write protect error when I try to copy files from a 'doze box to the Samba share.
On my windows machine, I can, however, copy files from one Samba share to the other Samba share.
On my windows machine, if I copy a file from One Samba share to another Samba share I can see the file.
From the Gentoo machine, if I copy files and directories to the Samba share, my windows machine can only see the directorys, but not the files.
I have permissions set on the share directories to 0777.
I have even set guest = ok in the smb.conf with no joy.
I've even rebooted with no luck.
I am very befuddled as to why I can create and delete directories, but not files. My home network went up without any problems, I guess I'm paying for that now.
RM |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|