[share]
comment = Ubuntu File Server Share
path = /srv/samba/share
browsable = yes
guest ok = yes
read only = no
create mask = 0755In ubuntu 10.10 service could be restart by using:
sudo restart servicenameTo restart samba server following two command need be used:
sudo restart smbdTo block unauthorized access, change "security = no" in [Global] section and "guest ok = no" in shared section.
sudo restart nmbd
Last apparmor have to be modified to allowed application access certain files. Install apparmor-profiles packages which contains binary file to modify. "sudo apt-get install apparmor-profiles". Edit /etc/apparmor.d/usr.sbin.smbd by adding following specified path info at the end of this file:
/srv/samba/share/ r,/srv/samba/share/** rwkix,Reload to enable the setting: sudo aa-enforce /usr/sbin/smbd
No comments:
Post a Comment