Hi knowledgeable samba users, I had to upgrade from samba 2.2.0 on a suse linux server (7.2). Server died after two 2+ years of loyal services - otherwise I would not have changed... Now I have a samba 3.0.9-2.6 on suse 9.1. I can access the files only r-x, i.e. all files appear as read only. Trying to trouble shoot I have: - chmod-ed all the files of all the shares to 777 - in swat put the masks to 777 in the "global section" - in swat put the masks to 777 in all the shares It is a home office environment where I access the SMB server from XP and W2K stations. Is there anywhere else I should look at? thanks in advance, Dominique __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp
fluibgwef@netscape.net wrote:> Hi knowledgeable samba users, > I had to upgrade from samba 2.2.0 on a suse linux server (7.2). Server died after two 2+ years of loyal services - otherwise I would not have changed... > Now I have a samba 3.0.9-2.6 on suse 9.1. I can access the files only r-x, i.e. all files appear as read only.Have you moved the files and users from the old server? Are the owner of the home directories the one you would expect, i.e. does the user xyz own the directory /home/xyz: ls -ld /home/xyz (replace xyz with some real owners). What does the command testparm write? Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk
Hi knowledgeable samba users, I had to upgrade from samba 2.2.0 on a suse linux server (7.2). Server died after two 2+ years of loyal services - otherwise I would not have changed... Now I have a samba 3.0.9-2.6 on suse 9.1. I can access the files only r-x, i.e. all files appear as read only. Trying to trouble shoot I have: - chmod-ed all the files of all the shares to 777 - in swat put the masks to 777 in the "global section" - in swat put the masks to 777 in all the shares It is a home office environment where I access the SMB server from XP and W2K stations. Is there anywhere else I should look at? thanks in advance, Dominique __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp
Thanks Mogens for your response: My answers below. Have you moved the files and users from the old server? ==> no I transferred the physical disk. Normally the users are transferred too but this machine is just used as a server for my business and family data and I don't use it very much locally. Not only the homes are to be exported but also 3 disks /data1 to 3. Are the owner of the home directories the one you would expect, i.e. does the user xyz own the directory /home/xyz: ls -ld /home/xyz (replace xyz with some real owners). ==> the ownership of the /data1 /data2 /data3 and home/xxx directories is to root root that might be it? How do I change it (sorry newcomer's question) I know there is chown and chgrp but how do you apply them in this case? What does the command testparm write? ==> testparm output below (thanks for reminding me, I haven't touched samba for 2 yrs...) How come that the permission masks are not set to all 0777 as I supposedly changed them from swat? swat does not seem very reliable??? ------------------------------------- p1g:/ # testparm Load smb config files from /etc/samba/smb.conf Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Processing section "[data1]" Processing section "[data2]" Processing section "[data3]" Processing section "[fun_data]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions # Global parameters [global] workgroup = HOME netbios name = xxxxxxxxxxxxxx server string = xxxxxxxxxxxxxxxxx interfaces = xxxxxxxxxxxxxxxxxxxxx0 update encrypted = Yes map to guest = Bad Password guest account = ftp log level = 2 log file = /var/log/samba/client_log.%m max log size = 500 debug hires timestamp = Yes time server = Yes socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY os level = 1 local master = No domain master = No wins support = Yes ldap suffix = dc=example,dc=com ldap ssl = no template homedir = /home/%U admin users = acl create mask = 0777 directory mask = 0777 veto files = /*.eml/*.nws/riched20.dll/*.{*}/ [homes] comment = Home Directories path = /home/%u valid users = %S read only = No create mask = 0640 directory mask = 0750 [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes __________________________________________________________________ Switch to Netscape Internet Service. As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register Netscape. Just the Net You Need. New! Netscape Toolbar for Internet Explorer Search from anywhere on the Web and block those annoying pop-ups. Download now at http://channels.netscape.com/ns/search/install.jsp
fluibgwef@netscape.net wrote: ... chaotic quote removed ... testparm lists section [data1], [data2], and [data3], but they are not listed under services definitions? How many users do you actually have? Do you have any files under /home/user1, /home/user2, etc. for these users? If the owner of these files are not set correctly, you should find the uid and gid in the /etc/passwd file for these users and do a: chown -R uid1.gid1 /home/user1 I guess that swat has changed the global settings for create and directory mask, but you still have to change the settings for the [homes] section. Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk