Jan 18, 2013

openSUSE Forums: samba - cannot delete file after creating it

openSUSE Forums
openSUSE Forums
samba - cannot delete file after creating it
Jan 18th 2013, 16:38

Running version opensuse 12.2. I have a samba share set up as follows:

Code:

[itmd]        path = /home/itmd
        read only = no
        inherit permissions = yes
        inherit acls = Yes

The directory /home/itmd has these permissions:
Code:

drwxrwxr-x 31 itmd      users
I want members of group 'users' to be able to read and write to the directory. If I map a drive to the share as 'chapan' and I can put file in the directory. It then has these permissions:

[CODE-rwxrw-r-- 1 chapan users 559512 Jan 18 07:35 testfile[/CODE]

But if I try to delete the file, I get 'permission denied' even though I am the owner of the file. If I change permissions on the directory to be

[CODEdrwxrwxrwx 31 itmd users 3896 Jan 18 10:36 itmd][/CODE]

i can then delete the file, but I don't what to give everyone write access to the directory.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: