On 03/03/11 19:57, Simon Greenwood wrote:
No, that's OK at the moment. /var/lib/samba/usershares should contain
files with the names of shares on your machine. These files should be
owned by you. If they aren't, from terminal, type 'sudo chown
<username>:<username> /var/lib/usershares/<sharename>'.
You should have something like this:
ls -l /var/lib/samba
drwxrwx--T 2 root sambashare 4096 2011-02-09 20:30 usershares
ls -l /var/lib/samba/usershares
-rw-r--r-- 1 simong simong 78 2011-02-09 20:30 music
s/
Ok, when I try to cd to samba, it says no file or directory, even though
I can see it. I can cd to /lib but that is it.
I wonder if that is why?
but when I do ls -l /var/lib/samba I get
drwxrwx--T 2 root sambashare 4096 2011-03-03 19:34 usershares
all other directories in that folder are root root
this is what else is in that directory
-rw------- 1 root root 16384 2009-08-24 22:29 account_policy.tdb
-rw------- 1 root root 77824 2009-08-24 22:29 group_mapping.ldb
-rw------- 1 root root 8192 2009-08-24 22:29 ntdrivers.tdb
-rw------- 1 root root 696 2009-08-24 22:29 ntforms.tdb
-rw------- 1 root root 20480 2010-10-15 19:48 ntprinters.tdb
-rw------- 1 root root 36864 2011-03-03 19:33 passdb.tdb
drwxr-xr-x 2 root root 4096 2009-08-24 22:29 perfmon
drwxr-xr-x 10 root root 4096 2009-08-24 22:29 printers
drwxr-xr-x 3 root root 4096 2011-03-01 18:26 private
-rw------- 1 root root 36864 2009-10-14 21:00 registry.tdb
-rw------- 1 root root 24576 2009-06-04 14:19 secrets.tdb
-rw------- 1 root root 36864 2009-11-12 19:59 share_info.tdb
drwxrwx--T 2 root sambashare 4096 2011-03-03 19:34 usershares
-rw-r--r-- 1 root root 8192 2009-08-24 22:29 winbindd_idmap.tdb
Hope that helps
--
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/