[Samba] file permission

Tiago Cruz tiago at grupoking.com.br
Fri Mar 7 10:56:45 GMT 2003


Norman,

Add in your smb.conf file, in section of share:

force create mode = 777
force directory mode = 777

Brazilian Regards
Tiago Cruz


Em Qui, 2003-03-06 às 18:51, Norman Zhang escreveu:

> Hi,
> 
> 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
> 
> [root at smbserver baseband]# getfacl general
> # file: general
> # owner: root
> # group: Domain Users
> user::rwx
> group::---
> group:Proj Base Team:rwx
> group:Proj Base Man:rwx
> group:Proj Readers:r-x
> group:Bak Admins:rwx
> mask::rwx
> other::---
> default:user::rwx
> default:group::---
> default:group:Proj Base Team:rwx
> default:group:Bak Admins:rwx
> default:mask::rwx
> default:other::---
> 
> [root at smbserver general]# pwd
> /srv/proj/baseband/general
> 
> **nmun cannot copy files into packaging**
> 
> [root at smbserver general]# getfacl *
> # file: packaging
> # owner: nmun
> # group: Domain Users
> user::rwx
> group::rwx
> group:Proj Base Team:rwx
> group:Bak Admins:rwx
> mask::rwx
> other::---
> default:user::rwx
> default:group::---
> default:group:Proj Base Team:rwx
> default:group:Bak Admins:rwx
> default:mask::rwx
> default:other::---
> 
> Regards,
> Norman


More information about the samba mailing list