Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Samba and gedit - save changes permissions

Samba and gedit - save changes permissions
Thread Tools
Gavin
Mac Elite
Join Date: Oct 2000
Location: Seattle
Status: Offline
Reply With Quote
Jul 26, 2006, 02:24 AM
 
Hi,

I'm trying to get my mac server up and running with samba so I can work on things from a linux box.

So far I can mount shares and read files. I can edit them in gedit but when I save the file it changes the permissions. sets it to -rwx------ every time. should be -rwxr--r--

I think this is a samba issue not a gedit issue but who knows.

now the mount point (folder) is set to drwxrwxrwx but when I actually mount the share it changes to drwx------

the user on the mac and the linux box have the same name and uid


Any ideas?

thanks

here's the samba config
/etc/smb.conf

the global stuff is default, I've tried fiddling with the [sites] part with no luck

[global]
guest account = unknown
encrypt passwords = yes
dos charset = 437
unix charset = UTF-8-MAC
auth methods = guest opendirectory
passdb backend = opendirectorysam guest
printer admin = @admin, @staff
server string = Mac OS X
defer sharing violations = no

[sites]
path= /Users/me/Sites/
comment = hell yeah
browseable = yes
writable = yes
read only = no
create mode = 0755
You can take the dude out of So Cal, but you can't take the dude outta the dude, dude!
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 01:09 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,