You are not logged in.

#1 2015-10-30 00:19:22

kvonlinee
Member
Registered: 2015-02-04
Posts: 27

(Solve) Rename a file is ok, can't delete it from smb

Hi,
I have install ntfs-3g on my Arch linux box, but I can't delete a file from smb share, i can cut and paste.
Anyone know a work around?
Thank you.

Last edited by kvonlinee (2016-02-04 01:36:02)

Offline

#2 2015-10-30 07:51:33

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: (Solve) Rename a file is ok, can't delete it from smb

Wise men say: He, who posts mount options and smb config file in code tags, might be enlightened.

Offline

#3 2015-10-30 08:35:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: (Solve) Rename a file is ok, can't delete it from smb

I cannot understand how ntfs-3g would help with an SMB share?

Do you have the proper permissions on the SMB share? Who has setup the SMB share?

Offline

#4 2015-10-30 13:41:40

kvonlinee
Member
Registered: 2015-02-04
Posts: 27

Re: (Solve) Rename a file is ok, can't delete it from smb

Awebb wrote:

Wise men say: He, who posts mount options and smb config file in code tags, might be enlightened.

how I get that code.

Offline

#5 2015-10-30 13:42:38

kvonlinee
Member
Registered: 2015-02-04
Posts: 27

Re: (Solve) Rename a file is ok, can't delete it from smb

x33a wrote:

I cannot understand how ntfs-3g would help with an SMB share?

Do you have the proper permissions on the SMB share? Who has setup the SMB share?

the smb share create just one user, and log-in by that user.

Offline

#6 2015-10-30 15:00:59

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: (Solve) Rename a file is ok, can't delete it from smb

[ code ] text [ / code ]

Offline

#7 2015-10-31 06:23:35

kvonlinee
Member
Registered: 2015-02-04
Posts: 27

Re: (Solve) Rename a file is ok, can't delete it from smb

[user]
        path = /home/user
        valid users = user
        available = yes
        read only = no
        writable = yes

Offline

#8 2016-02-04 01:39:16

kvonlinee
Member
Registered: 2015-02-04
Posts: 27

Re: (Solve) Rename a file is ok, can't delete it from smb

Turn out it was very simple,  it was file permission

 chmod 770 (-R) file 

And it could delete file.

Offline

Board footer

Powered by FluxBB