Re: [ilugd] Unable to create dir in samba share
hi have u checked the SELINUX. Make sure its either disabled or permissive. In enforcing you'll need to set the boolean. I think this would do, chcon -R -t samba_share_t /var/ftp/ Let us know if it helps. Regards Balvinder On Sat, Feb 2, 2013 at 12:51 PM, Satish Kr Malanch satishmala...@gmail.comwrote: Hello , I am trying to access my samba share thourgh windows or linux but i m not able to create any direcotry in it. I want to allow to write in public ftp dir (/var/ftp/pub) *My samba config file is :* [sp2] writeable = yes public = yes create mode = 777 path = /var/ftp/pub directory mode = 777 --- *While file permission are as:* ls -l /var/ftp total 4 drwxrwxrwx. 2 root root 4096 Jan 24 21:13 pub plz help. thanks in advance. -- With Best Regards: *Satish Kr Malanch* The only real voyage of discovery consists not in seeking new landscapes but in having new eyes. -- Visit my Blog by clicking here http://sd-malanch.blogspot.in/ ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Unable to create dir in samba share
check man page for more options man samba_selinux On Sat, Feb 2, 2013 at 2:41 PM, Balvinder Rawat bal.ra...@gmail.com wrote: hi have u checked the SELINUX. Make sure its either disabled or permissive. In enforcing you'll need to set the boolean. I think this would do, chcon -R -t samba_share_t /var/ftp/ Let us know if it helps. Regards Balvinder On Sat, Feb 2, 2013 at 12:51 PM, Satish Kr Malanch satishmala...@gmail.com wrote: Hello , I am trying to access my samba share thourgh windows or linux but i m not able to create any direcotry in it. I want to allow to write in public ftp dir (/var/ftp/pub) *My samba config file is :* [sp2] writeable = yes public = yes create mode = 777 path = /var/ftp/pub directory mode = 777 --- *While file permission are as:* ls -l /var/ftp total 4 drwxrwxrwx. 2 root root 4096 Jan 24 21:13 pub plz help. thanks in advance. -- With Best Regards: *Satish Kr Malanch* The only real voyage of discovery consists not in seeking new landscapes but in having new eyes. -- Visit my Blog by clicking here http://sd-malanch.blogspot.in/ ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd
Re: [ilugd] Unable to create dir in samba share
Thankyou very much Balvinder ji , chcon -R fixed for me..thanks a ton again -- hi have u checked the SELINUX. Make sure its either disabled or permissive. In enforcing you'll need to set the boolean. I think this would do, chcon -R -t samba_share_t /var/ftp/ Let us know if it helps. Regards Balvinder On Sat, Feb 2, 2013 at 12:51 PM, Satish Kr Malanch satishmala...@gmail.comwrote: Hello , I am trying to access my samba share thourgh windows or linux but i m not able to create any direcotry in it. I want to allow to write in public ftp dir (/var/ftp/pub) *My samba config file is :* [sp2] writeable = yes public = yes create mode = 777 path = /var/ftp/pub directory mode = 777 --- *While file permission are as:* ls -l /var/ftp total 4 drwxrwxrwx. 2 root root 4096 Jan 24 21:13 pub plz help. thanks in advance. -- With Best Regards: *Satish Kr Malanch* The only real voyage of discovery consists not in seeking new landscapes but in having new eyes. -- Visit my Blog by clicking here http://sd-malanch.blogspot.in/ ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd -- With Best Regards: *Satish Kr Malanch* The only real voyage of discovery consists not in seeking new landscapes but in having new eyes. -- Visit my Blog by clicking here http://sd-malanch.blogspot.in/ ___ Ilugd mailing list Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd