I have problems acessing my samba shares on my home directory from windowsXP
i often have to modify privilages and access rights.
i do this every time i need to move some files to my windows machine.
i use the commands..
chmod 755 /home/chris/
chmod 755 /home/chris/local_share/
chmod 744 /home/chris/local_share/*
(normally, all files in /home/chris are set to chmod 700)
normally, this allows all my local share files readable from windows.
however this time it did not work.
Now, i i cant even login, i get errors about no such firectory /home/<username>
even if i chmod 777 /home/ and /home/chris/
i still get errors about /home/vhruis not existing
here are my access rights and ownders of ome key files and directorys.
drwxr-xr-x 8 root users 86 Nov 21 14:26 /home
drwxr-xr-x 2 chris users 6 Nov 21 14:26 /home/chris
WHY canot any users login !!!???
i can only login as root.
(attempting to login via the console, NOT graphically)
i edited /etc/passwd and changed chris home directory to /tmp/chris/
created the directory /tmp/chris with ownder=chris, group=users and chmod 754.
i still cannot even login to /tmp !!!!!!
WHATS GOING WRONG !???
maybe my permissions of / are wrong ? how do you get / set them ? what should they be ?
chmod 755 /
fixed it.. although i have no idea how / got changed, ive looked through my back histyory and i did not make any typing mistakes !