pepijn wrote:
> i have a windows directory which i have shared with linux redhat(test
> www root). Now i would like to write session files to a 'sessions'
> directory on linux with php. But it keeps telling me that it has no
> permission to write in that directory. i cannot change the permissions
> from 755 to 777 as root.
> this is part of my fstab file
> //windowspc/windowsdir /var/www/html/windowsdir smbfs
> username=administr
> ator,password=pass,uid=0,gid=0 0 0
>
> So can somebody help me?
This exact same inquiry is made here every day, without exception.
$ man 8 mount
Use umask to set the permissions on the share. umask=0 will grant total
access to everyone, umask=022 will grant total access to the owner of the
share and r+x to all others.
--
Paul Lutus
http://www.arachnoid.com