Networking Forums

Networking Forums > Computer Networking > Linux Networking > permission denied writing in samba shared directory on linux

Reply
Thread Tools Display Modes

permission denied writing in samba shared directory on linux

 
 
pepijn
Guest
Posts: n/a

 
      10-13-2003, 06:53 PM
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?
 
Reply With Quote
 
 
 
 
Paul Lutus
Guest
Posts: n/a

 
      10-13-2003, 08:17 PM
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

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA Question, Linux box can't see Windows Shared folders General Schvantzkoph Linux Networking 1 12-11-2008 11:56 PM
Samba file-writing logs Linux_tec Linux Networking 1 11-04-2006 08:34 PM
Problems writing to samba share Dennis Luemkemann Linux Networking 0 12-05-2004 01:30 PM
How do I allow create directory but not move or delete in Samba/Linux? Craig Linux Networking 4 11-25-2004 10:42 PM
samba: linux won't access win98 shared floppy & CD Douglas White Linux Networking 2 07-26-2003 05:47 AM



1 2 3 4 5 6 7 8 9 10 11