Date: Thu, 11 May 2006 18:38:56 -0700 From: "Derrick Ryalls" <ryallsd@gmail.com> To: "FreeBSD Questions" <freebsd-questions@freebsd.org> Subject: New folder permissions Message-ID: <d5eb95fc0605111838r163d9a7dkfd879d8069f1f9c7@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Greetings, I am having issues getting correct permissions set for files in a common area on a web/file server. I have webroot shared out via samba and under there I have an auto-thumbnail generation script that creates thumbnails in somefolder/.cache where somefolder is a newly created folder. Example: autothumbs\ mypics1\ image.jpg .cache image_thumb.jpg mypics2\ .cache ... What needs to happen is when a new folder is created under this autothumb tree, the permissions need to be set correctly so that the .cache folder can be automatically generated by the thumbnail process. I have the main folder listed as root:wheel 777 but when new folders are created they have user:wheel 755 permissions and the thumbnail script fails as it cannot write to the location. Is there something I am missing to get this setup properly? I know a workaround is the manually change the permissions of the folder when it is created, but since my wife will be wanting to add pictures, that isn't an option for her (very non-techy). The machine in question a 5.4-Stable box. Any suggestions on what I need to do? Thanks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5eb95fc0605111838r163d9a7dkfd879d8069f1f9c7>