mistafeesh
03-03-2004, 06:36 AM
I have a Mac sharing files with my PC and Linux box with samba.
I really need to be able to set specific file/directory permissions on one of the two shares, on the Linux box as it is being used for web serving.
here's the relevant bit of my smb.conf from the mac:
client code page = 437
coding system = utf8
guest account = dan
encrypt passwords = yes
[work]
path = /Work/
browseable = yes
writeable = yes
comment = work
guest account = dan
public = yes
[websites]
path = /Work/Websites
browseable = yes
writeable = yes
comment = websites
guest account = dan
public = yes
here's the relevant bit from my /etc/fstab on the Linux machine://oxdance/work /home/dan/work smbfs
auto,uid=dan,fmask=0664,iocharset=iso8859-15,credentials=/etc/smbpass
//oxdance/websites /home/dan/public_html smbfs
auto,uid=dan,iocharset=iso8859-15,credentials=/etc/smbpass
If I set permissions on the Mac, they don't change on the Linux box, and I can't set them on the Linux box , because I have "insufficient priveledges".
I really need to be able to set specific file/directory permissions on one of the two shares, on the Linux box as it is being used for web serving.
here's the relevant bit of my smb.conf from the mac:
client code page = 437
coding system = utf8
guest account = dan
encrypt passwords = yes
[work]
path = /Work/
browseable = yes
writeable = yes
comment = work
guest account = dan
public = yes
[websites]
path = /Work/Websites
browseable = yes
writeable = yes
comment = websites
guest account = dan
public = yes
here's the relevant bit from my /etc/fstab on the Linux machine://oxdance/work /home/dan/work smbfs
auto,uid=dan,fmask=0664,iocharset=iso8859-15,credentials=/etc/smbpass
//oxdance/websites /home/dan/public_html smbfs
auto,uid=dan,iocharset=iso8859-15,credentials=/etc/smbpass
If I set permissions on the Mac, they don't change on the Linux box, and I can't set them on the Linux box , because I have "insufficient priveledges".