Re: [Samba] Delete permission question

2007-03-05 Thread Felipe Augusto van de Wiel
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 03/04/2007 11:05 PM, Richard Greaney wrote:
[...]
> I am not using any ACLs, nor am I using any special entries 
> in the service definition of my smb.conf.
> 
> [infoshare]
>path = /var/www/infoshare
>writable = yes
>force group = folder-infoshare-modify
> 
> ls -l /var/www/
> drwxrwx---+   6 root folder-infoshare-modify 4096 infoshare

What are the permissions of the files inside the infoshare?


> In this case, my users belong to the correct group
> (folder-infoshare-modify) so they can write to the share 
> without problem. However, unless their username is root,
> none of these users will be able to delete any file they
> save. Is there a way to do this?

Is a user that can't delete files via samba able to delete
the files in a shell (ssh, or terminal)?


> I hope I have made this clear enough.
> If anyone can assist, I'd appreciate it.
> Regards
> Richard

Kind regards,

- --
Felipe Augusto van de Wiel <[EMAIL PROTECTED]>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/   Phone: (+55 41 3350 3300)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF7BJGCj65ZxU4gPQRAkecAJ9hd+hk3v43kk192wLZuygMOMCatQCeImyz
8SsgpGKP/zpTI9uRjrqta94=
=AESb
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Delete permission question

2007-03-04 Thread Richard Greaney

Hi all

I have been trying to figure this out but have decided to give in and
ask the list.

I am setting up a samba share that is writeable by numerous users. This
is no problem - put them in the necessary group and chmod g+w that
directory. The problem is that only the user who owns the parent
directory is able to delete files from it. I know that dir permissions
govern who can and can't delete files on Unix, but I'd like anyone to be
able to delete any file within that directory structure.

I am not using any ACLs, nor am I using any special entries in the
service definition of my smb.conf.

[infoshare]
   path = /var/www/infoshare
   writable = yes
   force group = folder-infoshare-modify

ls -l /var/www/
drwxrwx---+   6 root folder-infoshare-modify 4096 infoshare

In this case, my users belong to the correct group
(folder-infoshare-modify) so they can write to the share without
problem. However, unless their username is root, none of these users
will be able to delete any file they save. Is there a way to do this?

I hope I have made this clear enough.

If anyone can assist, I'd appreciate it.

Regards
Richard

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba