LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Samba file share: need help with permissions (https://www.linuxquestions.org/questions/linux-general-1/samba-file-share-need-help-with-permissions-837678/)

xzased 10-12-2010 08:02 PM

Samba file share: need help with permissions
 
Hi, we have Red Hat 5.3 in our file server with samba 3.4.1. this is our config for the share:

Code:

[test]
        comment = test
        path = /test
        read only = no
        force create mode = 0775
        force directory        mode = 0775
        posix locking = No

We have one account (admin). We also created a folder called test00 and change its ownership to root such as the ls -al output is:

Code:

drwxr-xr-x    3 root    root    4096 Oct 12 18:22 test00
and created another folder inside test00 called test01 and change its ownership to admin account. However, when mapped via a windows client using admin account, we cannot delete the folder test01, which is supposed to be owned by admin. Is this default behavior? Shouldnt we be able to delete the folder since admin owns it?

frankbell 10-13-2010 10:12 PM

When I was struggling with Samba, the best help I found was Samba by Example. That's what helped me set up Samba that worked for me.

Once I got a configuration file that worked, I saved it to removable media and recycled it every time I set up a new computer.


All times are GMT -5. The time now is 07:46 AM.