[CentOS] Samba and file permissions
Rob Kampen
rkampen at kampensonline.comMon Jul 12 15:01:30 UTC 2010
- Previous message: [CentOS] Samba and file permissions
- Next message: [CentOS] Samba and file permissions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Todd Cary wrote: > A problem that has plagued me for a long time (finally decided to get > some expert help) is setting the owner/group on directories/files I > create with samba. Here is my situation: > > On my Linux/Apache I have a user, smith. The /home/smith directory is > owned by smith and is part of the group, todd (me) with permissions 775. > > This works fine until I create via samba a directory in smith e.g. > /home/smith/test. The directory is owned by todd and smith cannot > create a file in it. > > What have I missed and how do I fix it? > > Todd > > P.S. My admin expertise is just moderate since my Linux server just runs > and runs without much administration needed. > > Todd, You did not provide a copy of your smb.conf you may want to check directory mask = 0775 create mask = 0664 in the global section or in the particular [homes] section as you see fit. another way is to use the sticky bit under unix file permissions ie chmod g+s /home/smith HTH -------------- next part -------------- A non-text attachment was scrubbed... Name: rkampen.vcf Type: text/x-vcard Size: 196 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20100712/e1e51a11/attachment-0001.vcf>
- Previous message: [CentOS] Samba and file permissions
- Next message: [CentOS] Samba and file permissions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list