Net usershare returned error 255: Error was operation not permitted

Asked by Greg

I just purchased a My Passport 1TB drive and I have been strugging all day to get my Ubuntu 14.10 to recognize the drive as capable to be written to for back ups. I have edited the smb.conf with the prior suggestions of "usershare owner only = false" and I have edited the fstab to "UUID=4E1AEA***AEA6007 /media/greggel/My\040Passport ntfs-3g defaults,locale=en_US.UTF-8,uid=1000,gid=1000,dmask=027,fmask137. I continuously get the same error and I am tired of searching everywhere on here for the solution so I am here. Please let me know what you might need to know to help me. I want to use the My Passport for backing up and currently I cannot write to it. It is a NTFS but I believe it had other info there too. I would really like to believe I didn't waste money buying the My Passport and I hope someone can help me.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Samba and NTFS do not get along well and it can be a nightmare to get NTFS shared using Samba. I recommend you either use SFTP (install openssh-server and you will get this) or format the drive to a Linux filesystem and use Samba.

SFTP will allow you to access the storage securely so access over WAN is possible. Linux file managers can connect to SSHFS. Windows (as always) will need a 3rd party tool as it's file manager is very basic.

Revision history for this message
Greg (gelmangreg) said :
#2

Can you explain why my external is having this problem but my 3 other windows ntfs internal hard drives needed 0 effort to be shared? Is it really because its via usb and not ide/sata?

> On Mar 17, 2015, at 3:41 AM, actionparsnip <email address hidden> wrote:
>
> Your question #263767 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/263767
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Samba and NTFS do not get along well and it can be a nightmare to get
> NTFS shared using Samba. I recommend you either use SFTP (install
> openssh-server and you will get this) or format the drive to a Linux
> filesystem and use Samba.
>
> SFTP will allow you to access the storage securely so access over WAN is
> possible. Linux file managers can connect to SSHFS. Windows (as always)
> will need a 3rd party tool as it's file manager is very basic.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/263767/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/263767
>
> You received this question notification because you asked the question.

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

Is the NTFS healthy? Have you ran a chkdsk on it to make sure it is complete and consistent.

Revision history for this message
Greg (gelmangreg) said :
#4

Yes, it appears to be healthy. It is brand new bought out of the box and I
preformed a nfsfix on it unmounted.. process completed successfully.

On Tue, Mar 17, 2015 at 7:01 AM, actionparsnip <
<email address hidden>> wrote:

> Your question #263767 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/263767
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> Is the NTFS healthy? Have you ran a chkdsk on it to make sure it is
> complete and consistent.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/263767/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/263767
>
> You received this question notification because you asked the question.
>

Revision history for this message
Greg (gelmangreg) said :
#5

Yes but I figured it out.. I just had to rsync without any permissions and
it let me back up all of the data. Thank you.

On Tue, Mar 17, 2015 at 4:31 PM, Greg <email address hidden>
wrote:

> Your question #263767 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/263767
>
> Status: Answered => Open
>
> You are still having a problem:
> Yes, it appears to be healthy. It is brand new bought out of the box and I
> preformed a nfsfix on it unmounted.. process completed successfully.
>
> On Tue, Mar 17, 2015 at 7:01 AM, actionparsnip <
> <email address hidden>> wrote:
>
> > Your question #263767 on Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+question/263767
> >
> > Status: Open => Answered
> >
> > actionparsnip proposed the following answer:
> > Is the NTFS healthy? Have you ran a chkdsk on it to make sure it is
> > complete and consistent.
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> https://answers.launchpad.net/ubuntu/+question/263767/+confirm?answer_id=2
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> > https://answers.launchpad.net/ubuntu/+question/263767
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Open' state without activity for the last 15 days.