Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have an error while i want to copy my file in Centos 6.5 using samba to my Windows 7 folder. This is the error message :

You need permission to perform this action You require permission from ERP\hao to make change to this file.

    workgroup = MYGROUP
    server string = Samba Server Version %v
    log file = /var/log/samba/log.%m
    # max 50KB per log file, then rotate
    max log size = 50
    security = user
    comment = ERP
    path = /opt/erp
    public = yes
    writable = yes
    printable = no
    browseable = no
    create mask = 0777
    create mode = 0777
    directory mode = 0777
    share modes = yes
    force user = hao
    force group = hao
    read only = no

File that I want to copy location :


My samba path:


[hao@erp mve]$ stat -c '%a %n' *
777 7841e10a957d4bceb2205632c49543af.ygk
777 p18i13847jgnl1s91kujqlh1t9c3.ygk

[hao@erp erp]# ls -l mve/
-rwxrwxrwx. 1 hao hao  63467455 Mar 10 21:38 7841e10a957d4bceb2205632c49543af.ygk
-rwxrwxrwx. 1 hao hao 111912448 Mar 10 21:46 p18i13847jgnl1s91kujqlh1t9c3.ygk

[root@erp erp]# smbd --version
Version 3.6.9-167.el6_5

[hao@erp erp]# ls -l
drwxrwxrwx.  2 hao hao       4096 Mar 11 09:42 mve

I can copy all files in /opt/erp except in mve folder. Please help, how to fix this problem?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.