LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2004, 07:19 PM   #1
BoardinBum
LQ Newbie
 
Registered: Jul 2004
Distribution: Slackware, Ubuntu, DSL
Posts: 21

Rep: Reputation: 15
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?
 
Old 12-12-2004, 07:28 PM   #2
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

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


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
non root samba write permission Lazarus Linux - Software 8 05-29-2005 04:57 AM
Get permission to write/delete it-s Linux - Newbie 12 02-16-2005 04:30 AM
Samba Share Write permission Issues Colossus610 Linux - Software 4 08-12-2004 05:20 PM
no write permission? santasballz Linux - Newbie 1 02-12-2004 11:26 PM
No Write Permission... cabrone Linux - Newbie 4 09-15-2003 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:29 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