LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   samba write issues with windows logon (https://www.linuxquestions.org/questions/red-hat-31/samba-write-issues-with-windows-logon-4175539720/)

gglq000 04-14-2015 04:44 PM

samba write issues with windows logon
 
I have done the samba share implementation using following steps:
http://www.cyberciti.biz/faq/unix-sa...hare-writable/

I can access the share from Windows on first day and did write and read.
But starting next day possible after rebooting the samba server which is running on RHEL6.5 write permision is denied ever since. It is pissing the shit out of me.
the writeable = yes flag is set and checked everything but still can not see what is wrong. the testparm return the samba status but it does not include the writeable flag (below). What could be the issue?


[root@localhost sdb1]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Global parameter root found in service section!
WARNING: The "username" option is deprecated
Processing section "[windowapps]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
idmap config * : backend = tdb
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
username = samba_guest
printable = Yes
print ok = Yes
browseable = No

[windowapps]
path = /sdb1/window.apps
valid users = samba_guest
read only = No
create mask = 0666
directory mask = 0777
guest ok = Yes
[root@localhost sdb1]#

michaelk 04-15-2015 07:05 PM

You have valid users as well as a guest ok directive. Do you want windowsapps to be a public share?

You also have to verify the /sdb1/window.apps directory permissions and selinux if active are set correctly.

gglq000 04-15-2015 07:34 PM

Quote:

Originally Posted by michaelk (Post 5348068)
You have valid users as well as a guest ok directive. Do you want windowsapps to be a public share?

You also have to verify the /sdb1/window.apps directory permissions and selinux if active are set correctly.

i did chgrp and chown from root to samba_guest on the shared folder. so far so good. not sure if it is temp band-aid or will occur again will see.


All times are GMT -5. The time now is 12:32 PM.