Solved

Security settings for Samba fileserver software

Posted on 2011-02-27
1
376 Views
Last Modified: 2012-08-13
I have two servers, one running CentOS, and the other running Windows Server.

Samba file server has been installed on the CentOS machine.  I can "see" a directory on the CentOS server from the Windows Server  machine.

However the access is read only.  I can see, copy but not delete files.

I have zero experience of CentOS and Samba.  Can anyone advise me how I can change the security settings so I can also delete files?

I can start Putty and login... then i am lost.
0
Comment
Question by:soozh
1 Comment
 
LVL 6

Accepted Solution

by:
t-max earned 500 total points
ID: 34993259
That means that your user on the linux box didn't authenticate against your Windows server, that you connected using smbclient without a Windows username (check "smbclient --help"), or that you didn't set the right permissions on the shared folder for your user.
The fastest way to "fix" this is to give permissions on the folder shared to "everyone".
If you want to do things right, try use smbclient to connect to the folder with a Windows user, or try to log into CentOS using your Windows server to authenticate.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now