Re: [PHP] Permissions issue on share

2007-03-23 Thread Tijnema !
On 3/23/07, Jim Lucas <[EMAIL PROTECTED]> wrote: Rahul Sitaram Johari wrote: > Ave, > > I¹m not sure if anyone here is going to be able to help, but I¹ve run into a > permissions snag. > I have Apache Web Server running on Mac OS X with PHP. I have a folder on a > windows machine mounted on my Ma

Re: [PHP] Permissions issue on share

2007-03-22 Thread Jim Lucas
Rahul Sitaram Johari wrote: Ave, I¹m not sure if anyone here is going to be able to help, but I¹ve run into a permissions snag. I have Apache Web Server running on Mac OS X with PHP. I have a folder on a windows machine mounted on my Mac OS X as a share using the ³mount ­t smbfs //[EMAIL PROTECT

Re: [PHP] Permissions issue on share - SOLVED!!

2007-03-22 Thread Rahul Sitaram Johari
Ave, I can't believe I'm saying this, but SOLVED it! Took me about 6 hours, and this one website, with this one little snippet in one corner of a black & white page on the ENTIRE Internet gave me a solution with this guy who had the same problem - and he wrote "fixed it for me, hope it helps some

Re: [PHP] Permissions issue on share

2007-03-22 Thread Tijnema !
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: Ave, > But i think that when remounting the partitition, the permissions are reset too. Unfortunately you're absolutely right! The share is re-mounted on a daily basis (along with a reboot), and thus, even if the 'copy, delete from ser

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
Ave, > But i think that when remounting the partitition, the permissions are reset too. Unfortunately you're absolutely right! The share is re-mounted on a daily basis (along with a reboot), and thus, even if the 'copy, delete from server, copy to server' process were to work, with every unmount

Re: [PHP] Permissions issue on share

2007-03-22 Thread Tijnema !
On 3/22/07, Al <[EMAIL PROTECTED]> wrote: Get a copy of WinSCP3 or FileZilla ftp utilities, both are free. They will show you who the owner is for the dirs and files. You can also use a SSH shell command; but, unless you are already familiar with Unix commands, using the utilities will be a lot

Re: [PHP] Permissions issue on share

2007-03-22 Thread Al
Get a copy of WinSCP3 or FileZilla ftp utilities, both are free. They will show you who the owner is for the dirs and files. You can also use a SSH shell command; but, unless you are already familiar with Unix commands, using the utilities will be a lot easier and quicker. To change a file o

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
Yes, it does appear that samba on mac os x is not taking any configuration options. I tried different options for the mount_smbfs command which does have very specific user/owner/group related permissions options - but all give me the same "operation not supported" error. Let me take a closer loo

Re: [PHP] Permissions issue on share

2007-03-22 Thread Tijnema !
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: Ave, Certainly looks very promising, but is giving me: mount_smbfs: -o fmask=: option not supported Let me google it too, see what I can come up with. Appreciate it a lot mate. Hmm, i googled a little bit, and i found a norwegian sit

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
Well chmod is certainly not doing anything. I tried that to begin with. I don't get an error, but it doesn't change any permissions. Just doesn't do anything to the permissions of the file/folder. Like it's just ignored. I did it as root using sudo. On 3/22/07 12:18 PM, "Tijnema !" <[EMAIL PROT

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
Ave, Certainly looks very promising, but is giving me: mount_smbfs: -o fmask=: option not supported Let me google it too, see what I can come up with. Appreciate it a lot mate. On 3/22/07 12:48 PM, "Tijnema !" <[EMAIL PROTECTED]> wrote: > On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> w

Re: [PHP] Permissions issue on share

2007-03-22 Thread Tijnema !
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: Well chmod is certainly not doing anything. I tried that to begin with. I don't get an error, but it doesn't change any permissions. Just doesn't do anything to the permissions of the file/folder. Like it's just ignored. I did it as ro

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
Ave, "Or make sure the user apache runs on has write access to the share." That's the problem I'm facing. I'm not sure how to do that. If I'm not mistaken, Apache runs as user "nobody" on my Mac, but I don't know how to give that user write access on the Windows Machine. Yes, it is quite compli

Re: [PHP] Permissions issue on share

2007-03-22 Thread Tijnema !
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: Ave, "Or make sure the user apache runs on has write access to the share." That's the problem I'm facing. I'm not sure how to do that. If I'm not mistaken, Apache runs as user "nobody" on my Mac, but I don't know how to give that user

Re: [PHP] Permissions issue on share

2007-03-22 Thread Tijnema !
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: rahul:~/Documents/XFER rjohari$ ls -la osm total 26548 drwxr-xr-x 1 rjohari rjohari16384 31 Dec 1969 . drwxr-xr-x 5 rjohari rjohari 170 22 Mar 12:08 .. -rwxr-xr-x 1 rjohari rjohari21508 13 Sep 2006 .DS_Store [snip]

Re: [PHP] Permissions issue on share

2007-03-22 Thread Rahul Sitaram Johari
rahul:~/Documents/XFER rjohari$ ls -la osm total 26548 drwxr-xr-x 1 rjohari rjohari16384 31 Dec 1969 . drwxr-xr-x 5 rjohari rjohari 170 22 Mar 12:08 .. -rwxr-xr-x 1 rjohari rjohari21508 13 Sep 2006 .DS_Store -rwxr-xr-x 1 rjohari rjohari 82 14 Sep 2006 ._Temporary Items

Re: [PHP] Permissions issue on share

2007-03-22 Thread Tijnema !
On 3/22/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote: Ave, I¹m not sure if anyone here is going to be able to help, but I¹ve run into a permissions snag. I have Apache Web Server running on Mac OS X with PHP. I have a folder on a windows machine mounted on my Mac OS X as a share using the