LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-24-2011, 02:04 AM   #1
pauljanygodwin
LQ Newbie
 
Registered: Jan 2010
Posts: 7

Rep: Reputation: 0
samba context type error


hello,
I am running RHEL5.I have installed samba-i386, i have created a share, by the name manu in samba configuration file and the path of share is /home/manu/myfol, and when i try to change the context type using chcon command, ie when i provide the command "chcon -t samna_share_t /home/manu/myfol" i am getting the error of "chcon:can't apply partial context to unlabled file /home/manu/myfol".please do provide a solution..

Paul
 
Old 02-24-2011, 02:11 AM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

Since you're trying to share a home directory, perhaps this will work;
Code:
setsebool -P samba_enable_home_dirs 1
By the way, it should be;
Code:
chcon -t samba_share_t /home/manu/myfol
not;
Code:
chcon -t samna_share_t /home/manu/myfol
Of course, I would suggest you visit Red Hat's Official Documentation, and maybe call Support (since I'm sure you have a valid support contract).

Last edited by xeleema; 02-24-2011 at 02:12 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] error: array type has incomplete element type deathsfriend99 Programming 5 02-01-2010 10:36 AM
error: array type has incomplete element type duduarbel Programming 8 05-27-2008 01:25 PM
Dual Boot Vista Suse 10.2 error setting type of partition to type 82 jmp559 Linux - General 1 05-15-2008 07:40 PM
error: array type has incomplete element type nasim751 Linux - Software 1 04-14-2008 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration