sudo ls -l /var/lib total 300 drwxrwxrwx 2 root root 4096 2010-04-23 09:51 acpi-support drwxrwxrwx 2 root root 4096 2010-09-13 07:58 alsa drwxrwxrwx 6 root root 4096 2011-06-28 15:47 apt drwxrwxrwx 2 root root 4096 2011-06-28 15:47 aptitude drwxrwxrwx 2 root root 4096 2011-07-04 08:10 apt-xapian-index drwxrwxrwx 2 avahi-autoipd avahi-autoipd 4096 2010-04-29 09:26 avahi-autoipd drwxrwxrwx 2 root root 4096 2011-06-10 12:47 belocs drwxrwxrwx 2 root root 4096 2011-06-20 15:56 binfmts drwxrwxrwx 2 root root 4096 2010-04-29 09:27 computer-janitor drwxrwxrwx 2 root root 4096 2010-09-13 07:14 dbus drwxrwxrwx 9 root root 4096 2011-04-28 17:27 defoma drwxr-xr-x 2 root root 4096 2011-04-28 15:20 dhcp drwxrwxrwx 2 root root 4096 2010-09-13 08:34 dhcp3 drwxrwxrwx 3 root root 4096 2011-04-11 09:54 dictionaries-common drwxrwxrwx 5 root root 4096 2010-04-29 09:22 doc-base drwxrwxrwx 7 root root 4096 2011-07-06 11:06 dpkg drwxrwxrwx 2 root root 4096 2010-12-22 11:49 emacsen-common drwxrwxrwx 2 root root 4096 2010-08-11 10:21 flashplugin-installer drwxrwxrwx 5 root root 4096 2010-04-29 09:20 gconf drwxr-x--- 12 gdm gdm 4096 2011-06-22 18:04 gdm drwxrwxrwx 4 root root 4096 2010-10-05 14:25 ghostscript drwxrwxrwx 2 root root 4096 2011-04-28 14:19 hp drwxrwxrwx 2 root root 4096 2011-06-06 16:13 initramfs-tools drwxrwxrwx 2 root root 4096 2010-03-30 04:17 initscripts drwxrwxrwx 2 root root 4096 2010-03-30 04:17 insserv drwxrwxrwx 2 root root 4096 2011-02-21 15:27 iptotal drwxrwxrwx 2 root root 4096 2011-04-28 15:52 iptraf drwxrwxrwx 4 root root 4096 2011-04-11 09:56 libreoffice drwxrwsr-x 2 libuuid libuuid 4096 2010-04-29 09:18 libuuid drwxrwxrwx 3 root root 4096 2010-04-29 09:21 libxml-sax-perl drwxr-xr-x 3 root root 4096 2011-04-28 15:13 lintian drwxrwxrwx 3 root root 4096 2010-04-29 09:18 locales drwxrwxrwx 2 root root 4096 2011-07-06 08:05 logrotate drwxrwxrwx 2 root root 4096 2010-10-05 14:36 misc drwxrwxrwx 2 root root 4096 2011-07-06 08:06 mlocate drwxrwxrwx 2 root root 4096 2011-04-28 14:47 msttcorefonts drwx------ 7 mysql mysql 4096 2011-07-06 08:00 mysql drwxrwxrwx 2 root root 4096 2011-07-06 14:55 NetworkManager drwxr-xr-x 4 root root 4096 2011-06-28 15:47 nikto drwxrwxrwx 2 root root 4096 2010-04-08 21:28 ntpdate drwxrwxrwx 4 root root 4096 2010-12-22 11:40 ocaml drwxrwxrwx 2 root root 4096 2011-02-23 12:03 os-prober drwxrwxrwx 2 root root 4096 2010-10-05 15:02 PackageKit drwxrwxrwx 2 root root 4096 2011-05-31 15:23 pam drwxrwxrwx 2 root root 4096 2011-07-06 12:39 php5 drwxrwxrwx 3 root root 4096 2011-04-28 14:48 phpmyadmin drwxrwxrwx 2 root root 4096 2010-09-13 07:14 plymouth drwx------ 3 root root 4096 2010-04-29 09:20 polkit-1 drwxrwxrwx 3 postgres postgres 4096 2011-01-13 15:08 postgresql drwxrwxrwx 2 root root 4096 2010-03-26 20:37 pulseaudio drwxrwxrwx 2 root root 4096 2011-06-20 15:56 pycentral drwxrwxrwx 2 root root 4096 2011-04-28 14:49 python lrwxrwxrwx 1 root root 18 2011-04-28 14:50 python-support -> /usr/lib/pymodules drwxrwxrwx 5 root root 4096 2011-05-09 12:31 samba drwxrwxrwx 2 root root 4096 2011-04-07 11:10 security drwxrwxrwx 2 root root 4096 2010-04-29 09:19 sgml-base drwxrwxrwx 2 root root 4096 2010-04-01 04:18 snmp drwxrwxrwx 3 root aval 4096 1985-01-01 00:00 sudo drwxrwxrwx 2 root root 4096 2010-04-19 07:14 synaptic drwxrwxrwx 5 root root 4096 2010-11-18 12:32 tex-common drwxrwxrwx 5 root root 4096 2011-04-28 15:25 texmf drwxrwxrwx 2 root root 4096 2010-09-13 07:10 ubiquity drwxrwxrwx 3 root root 4096 2011-04-28 15:13 ucf drwxrwxrwx 2 root root 4096 2011-07-06 08:00 udisks drwxrwxrwx 2 root root 4096 2010-10-07 08:08 update-manager drwxrwxrwx 3 root root 4096 2011-04-28 15:20 update-notifier drwxrwxrwx 2 root root 4096 2011-07-01 12:00 update-rc.d drwxrwxrwx 2 root root 4096 2010-03-05 07:20 upower drwxrwxrwx 2 root root 4096 2011-07-06 08:00 urandom drwxrwxrwx 3 root root 4096 2011-06-24 17:21 ureadahead drwxrwxrwx 2 root root 4096 2010-09-08 09:30 usb_modeswitch drwxrwxrwx 2 root root 4096 2011-04-28 14:37 usbutils drwxrwxrwx 3 root root 4096 2010-04-29 09:18 vim drwxrwxrwx 2 root root 4096 2011-04-28 15:01 xfonts drwxrwxrwx 2 root root 4096 2010-10-08 11:16 xkb drwxrwxrwx 2 root root 4096 2011-04-28 15:00 xml-core
sudo ls -l /var/cache total 88 drwxrwxrwx 3 www-data www-data 4096 2010-09-22 08:22 apache2 drwxrwxrwx 3 root root 4096 2011-07-06 14:47 apt drwxr-xr-x 3 root root 4096 2011-07-04 08:10 apt-xapian-index drwxrwxr-x 3 root lp 4096 2011-06-09 10:23 cups drwxrwxrwx 3 root root 4096 2010-09-13 16:08 dbconfig-common drwxrwxrwx 2 root root 4096 2011-07-06 11:06 debconf drwxrwxrwx 2 root root 4096 2011-07-01 12:00 flashplugin-installer drwxrwxrwx 2 root root 4096 2011-05-25 09:32 fontconfig drwxrwxrwx 2 root root 4096 2010-06-20 05:30 fonts drwxrwxrwx 3 root root 4096 2011-06-27 17:58 gdm drwxrwxrwx 2 root root 4096 2010-07-28 15:35 git drwxrwxrwx 2 root root 4096 2011-04-29 08:34 hald drwxrwsr-t 2 root admin 4096 2010-09-23 17:11 jockey drwxrwxrwx 2 root root 4096 2009-06-02 04:02 jpgraph drwxrwxrwx 2 root root 4096 2011-07-05 16:52 ldconfig drwxrwsrwx 36 man root 4096 2011-07-06 11:05 man drwxrwxrwx 2 root root 4096 2010-04-19 07:11 pm-utils drwxrwxrwx 3 root root 4096 2011-01-13 12:11 postgresql drwxrwxrwx 2 root root 4096 2009-02-20 14:56 pppconfig drwxrwxrwx 3 root root 4096 2011-07-06 08:00 samba drwxrwxrwx 3 root root 4096 2011-06-20 15:56 software-center drwxrwxrwx 2 root root 4096 2011-02-28 14:36 system-tools-backends 2011/7/6 James Page <791...@bugs.launchpad.net> > On Wed, 2011-07-06 at 11:41 +0000, EduardoMonteiro wrote: > > WARNING: state directory /var/lib/samba should have permissions 0755 > > for > > browsing to work > > WARNING: cache directory /var/cache/samba should have permissions 0755 > > for > > browsing to work > > This might be pointing at the issue - please could you confirm the > permissions on /var/lib/samba and /var/cache/samba by running the > following commands: > > sudo ls -l /var/lib > sudo ls -l /var/cache > > Please post the output on this bug report > > Thanks > > -- > James Page > Ubuntu Server Developer > > -- > You received this bug notification because you are subscribed to a > duplicate bug report (782203). > https://bugs.launchpad.net/bugs/791944 > > Title: > package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: > subprocess installed post-installation script returned error exit > status 1 > > Status in “samba” package in Ubuntu: > Incomplete > > Bug description: > Binary package hint: samba > > Happens any time I install or uninstall a program. But does not seem > to effect the operation of the programs. > > ProblemType: Package > DistroRelease: Ubuntu 11.04 > Package: samba 2:3.5.8~dfsg-1ubuntu2.2 > ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2 > Uname: Linux 2.6.38-8-generic i686 > NonfreeKernelModules: nvidia > AptOrdering: > gdm: Install > samba: Configure > gadmin-samba: Configure > system-config-samba: Configure > gdm: Configure > Architecture: i386 > BothFailedConnect: Yes > Date: Thu Jun 2 11:53:20 2011 > ErrorMessage: subprocess installed post-installation script returned error > exit status 1 > InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) > NmbdLog: > > SambaServerRegression: Yes > SmbConfIncluded: Yes > SmbLog: > > SourcePackage: samba > Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: > subprocess installed post-installation script returned error exit status 1 > UpgradeStatus: Upgraded to natty on 2011-05-01 (31 days ago) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions > -- Atenciosamente, Eduardo Monteiro twitter.com/ducrz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791944 Title: package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/791944/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs