cannot share

Asked by aneesh

 When I try to share a folder named "my documents" from ubuntu (from normal user not root ) it is showing below error message.

' net usershare ' returned error 255: net usershare add :failed to add share my documents. Error was operation not
permitted. what are the reason for it how can i resolve it ?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ian Ace (iaculallad) said :
#1

Are you sure you have write access on the location (folder) you're trying to share the 'My Document' folder?

Revision history for this message
aneesh (aneesholv) said :
#2

yes I had gave the folder write access permission

My blog [image: Blogger] <http://aneesholv.blogspot.com>[image:
Orkut]<http://www.orkut.co.in/Main#Profile?uid=4054788529847900172>

--- @ WiseStamp
Signature<http://my.wisestamp.com/link?u=hpgckxcjt4gkfszh&site=www.wisestamp.com/email-install>.
Get it now<http://my.wisestamp.com/link?u=hpgckxcjt4gkfszh&site=www.wisestamp.com/email-install>

On Thu, Feb 18, 2010 at 10:05 PM, Ian Ace A. Culallad <
<email address hidden>> wrote:

> Your question #101531 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/101531
>
> Status: Open => Needs information
>
> Ian Ace A. Culallad requested for more information:
> Are you sure you have write access on the location (folder) you're
> trying to share the 'My Document' folder?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/101531
>
> You received this question notification because you are a direct
> subscriber of the question.
>

--
------with regards,

                      Aneesh.T.V
                      Mob:9544067525

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you mean 'My Documents' as in the Documents folder in your home folder you will need to run:

sudo apt-get install samba

You can then rerun nautilus and will be able to share folders using right click. If you are using ()or prefer cli config) you can use /etc/samba/smb.conf to define shares

Can you help with this problem?

Provide an answer of your own, or ask aneesh for more information if necessary.

To post a message you must log in.