Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Samba 3.0 problem - need help - attributes change to read only



You can just set the default owner/group/permissions for the [tmp] share.  Its much easier to set up the share correctly in samba than to deal with something in windows.

-miah

On Wed, Jun 23, 2004 at 12:47:37PM -0400, Mark J. Dulcey wrote:
> Dava Peters wrote:
> 
> > Hi all,
> >
> > Hope someone can help! I have samba 3.0 install with
> > Redhat Enterprise 3.0. I setup my share tmp file on smb.conf file as
> > following:
> > ...................................
> > [tmp]
> >          path = /tmp
> >          read only = no
> > ......................................
> >
> > Everyone could access this tmp folder without any
> > problem. The Only problem was that after we created
> > any document and save on tmp, the attributes of this
> > document changed to "read only". We had to uncheck
> > 'Read Only' everytime in order to save this document.
> >
> > Anyone has ideas about this?
> 
> 
> You probably need to change the umask for the share. The smb.conf 
> parameter you're looking for is "create mask", and it should probably be 
> 0700 (full rights for the creator, no rights for anyone else) for a 
> share of /tmp. The usual default is 0744, which would give full 
> permissions to the file creator and read-only access to everyone else. 
> But Red Hat might have changed it when they built samba; if their 
> default mask creates read-only files, you need to change it in smb.conf.
> 
> On Windows NT/2000/XP, you can also be affected by the security mask, 
> but its default of 0777 won't cause any problems. Nor will the usual 
> "force create mode" value of 0000. Again, Red Hat might, in their 
> infinite wisdom, have changed the defaults.
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
> 




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org