I have a new Fedora Core 5 installation. Samba (samba-3.0.21b-2) was installed during the initial install.
For the life of me, I cannot create a writable share, and it is driving me crazy. I would be grateful if anyone can spot the silly mistake I must be making.
I've simplified everything down to the following:
A directory /export/samba/test that is being shared
One file, test.txt inside the directory.
Here's the permissions on the directory:
Code:
[osodani@xxxx]~% ls -l /export/samba
drwsrwsr-x 2 osodani ITStaff 4096 Nov 28 18:54 test
Here's the permissions on the file:
Code:
[osodani@xxxx]~% ls -l /export/samba/test/test.txt
-rwxrwxrwx 1 osodani ITStaff 3 Nov 28 18:54 /export/samba/test/test.txt
Here's my Samba config:
Code:
[global]
workgroup = XXXX
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
[mathshare]
comment = Math Folder
path = /export/samba/test
public = yes
writable = yes
printable = no
create mode = 0770
There is a user on the system called osodani. I set a smbpasswd for this user.
I can connect to the share with no problem, using the osodani user and smb password. I can read the files with no problem.
Code:
smb: \> ls
. D 0 Tue Nov 28 18:54:10 2006
.. D 0 Tue Nov 28 18:41:30 2006
test.txt A 3 Tue Nov 28 18:54:10 2006
50600 blocks of size 8388608. 47647 blocks available
Attempting to rename the file via smbclient gives me this error:
Code:
smb: \> rename test.txt test1.txt
NT_STATUS_ACCESS_DENIED renaming files
Attempting to put a file gives me a similar error:
Code:
smb: \> put testme.txt
NT_STATUS_ACCESS_DENIED opening remote file \testme.txt
I can view the files from a Windows client, and open the test.txt file with no problem. Modifying the file or trying to create a new one in the share gives me an access denied error message.
Thanks for any insight you can give me! I know I'm missing something basic...