Your force create mode = 660 is only going to give you __wx_wx___, in other
words, the creator can only write and execute ( or get access to a folder )
and the allocated group can only write and execute ( or get access to a
folder ) none of them can ever see the file, wherever it is.

which means that every file that a user creates can never be seen or read by
them. They only have write and execute rights.

What you need is

create mode = 750

This will give the creator full access to the files and read only to members
of the group.

I don't think you need the leading 0, it might be causing more problems such
as being read as 066


ps that 's' looks very interesting, cos i think it should be a 'x'

Ken 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Norman Zhang
Sent: 07 March 2003 1:41 AM
To: [EMAIL PROTECTED]
Subject: Re: [expert] samb file permission


Hi,

Sorry. My mistake. Users were trying to move files that they don't have
permission into the folders. Copying files or creating files does work. But
they still get the prompt saying "You might not be able to access the files
you created. Do you want to continue?" Is there a fix for this? I added

force create mode = 0660
force directory mode = 0770

but problem still persists.

drwxrws---    5 root     Domain Users       55 Dec 21 19:02 approval/
drwxrws---    5 root     Domain Users       55 Dec 21 19:02 baseband/
drwxrws---    4 root     Domain Users       43 Dec 21 19:02 DECT/
drwxrws---    3 root     Domain Users       22 Jan  5 17:44 id/
drwxrws---    6 root     Domain Users       63 Dec 21 19:02 market/
drwxrws---   13 root     Domain Users     4096 Dec 21 17:28 mis/
drwxrws---    3 root     Domain Users       56 Dec 21 19:03 prodev/
drwxrws---    6 root     Domain Users       59 Jan  5 17:54 quality/
drwxrws---    6 root     Domain Users       73 Jan  5 17:15 rf/
drwxrws---    6 root     Domain Users       53 Jan  5 17:24 software/
drwxrws---    4 root     Domain Users       35 Dec 21 17:20 support/

Regards,
Norman

----- Original Message -----
From: "Bill Mullen" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 5:22 PM
Subject: Re: [expert] samb file permission


On Thu, 2003-03-06 at 16:52, Norman Zhang wrote:

> Everytime users want to create a folder in the share, they get a prompt
> saying "They may not be able to access the folder". If they go ahead, they
> can still creat sub-folders, but cannot copy files to the folder. Would
> someone please give me some help? My config is as follows,
>
> [proj]
>  comment = Project Documents
>  path = /srv/proj
>  read only = no
>  create mask = 0660
>  directory mask = 0770
>  hide unreadable = yes

What does `ls -l /srv/proj` look like?




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to