LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba write permission (https://www.linuxquestions.org/questions/linux-software-2/samba-write-permission-265695/)

BoardinBum 12-12-2004 07:19 PM

Samba write permission
 
I just set up an old box as a Samba server (OS is DamnSmallLinux). I can read all the files from it on my XP machine. But I can't write to it, and I'm not sure why.
Here's the smb.conf file:

# 1. Server Naming Options:
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
#server string = machina

# 3. Logging Options:
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Set the log (verbosity) level (0 <= log level <= 10)
log level = 10

# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
# Encrypted passwords are required for any use of samba in a Windows NT domain
# The smbpasswd file is only required by a server doing authentication, thus
# members of a domain do not need one.
#
# KEEP THIS UNCOMMENTED
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

# Configure remote browse list synchronisation here
# request announcement to, or browse list sync from:
# a specific host or from / to a whole subnet (see below)
; remote browse sync = 192.168.0.0 192.168.0.200
# Cause this host to announce itself to local subnets here
remote announce = 192.168.0.255

# 8. File Naming Options:
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; preserve case = no
; short preserve case = no
# Default case is normally upper case for all DOS files
default case = lower
# Be very careful with case sensitivity - it can break things!
case sensitive = yes
preserve case = yes

# Enabling internationalization:
# you can match a Windows code page with a UNIX character set.
# Windows: 437 (US), 737 (GREEK), 850 (Latin1 - Western European),
# 852 (Eastern Eu.), 861 (Icelandic), 932 (Cyrillic - Russian),
# 936 (Japanese - Shift-JIS), 936 (Simpl. Chinese), 949 (Korean Hangul),
# 950 (Trad. Chin.).
# UNIX: ISO8859-1 (Western European),
# ISO8859-2 (Eastern Eu.),
# ISO8859-5 (Russian Cyrillic), KOI8-R (Alt-Russ. Cyril.)
# This is an example for french users:
client code page = 850
character set = ISO8859-1

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = yes
writable = yes



Any help here?

P.S. Does it matter that the home directory on the Samba box that I'm accessing from XP is in ext2 format?

Vincent_Vega 12-12-2004 07:28 PM

No, ext2 won't matter but remember that file/directory permissions set in Samba don't override the permissions on the actual computer.


All times are GMT -5. The time now is 09:36 PM.