Error chowning directory while setting up samba server with gadmin on ubuntu 12.04 lts

Asked by Ian O'Keefe

I'm new to ubuntu and to linux. I've installed ubuntu 12.04 lts, and gadmin 0.3.2, and samba 2:3.6.3-2ubuntu2.3. I get "error chowning directory" whenever I try to add or edit a user in gadmin

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Thomas Krüger (thkrueger) said :
#2

Can you please explain in more details what you plan to do and how you have been trying it?
Thanks!

Revision history for this message
Ian O'Keefe (ianokeefe) said :
#3

I open gadmin, enter my password, I'm an admin
I go to the users tab
I hit add new user
I enter the username, password, group, comment, home directory, and hit apply
Error message comes up in a new window saying:

 Error chowning directory: /var/lib/samba/profiles/monicaokeefe

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

what is the output of:

ls -l /var/lib/samba/profiles/monicaokeefe; uname -a; lsb_release -a

Thanks

Revision history for this message
Ian O'Keefe (ianokeefe) said :
#5

-l: command not found
Linux cowbox 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 15:39:21 UTC 2012 i686 i686 i386 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.1 LTS
Release: 12.04
Codename: precise

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

ok once more. Run:

ls -l /var/lib/samba/profiles/monicaokeefe

What is output?

Thanks

Revision history for this message
Ian O'Keefe (ianokeefe) said :
#7

-l command not found

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

It's all one command, copy the whole line, there aren't 2 commands here. Like this:

https://dl.dropbox.com/u/8850924/command.jpg

Revision history for this message
Ian O'Keefe (ianokeefe) said :
#9

I'd left out the ls before, now it returned: total 0

Revision history for this message
Carl Davis (carl.davis) said :
#10

Can you paste the output of

ls -l /var/lib/samba/profiles/monicaokeefe

"total 0" seems like a strange response from that command.

Revision history for this message
Ian O'Keefe (ianokeefe) said :
#11

I don't know what to tell ya, I typed ls -l /var/lib/samba/profiles/monicaokeefe in again, it gave me the same reply.

Revision history for this message
Launchpad Janitor (janitor) said :
#12

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Michał Pławsiuk (razit.pl) (mp3-10) said :
#13

I have this same problem with gadmin - can somebody help?

Revision history for this message
Michał Pławsiuk (razit.pl) (mp3-10) said :
#14

I have this same problem with gadmin - can somebody help?

Revision history for this message
Scotsmon (scott-mcduff) said :
#15

I launched this as root. The command that the guy was trying to show you should have been:

  From the command prompt: ls -ld /var/lib/samba/profiles/monicaokeefe

You should have seen this:

  drwxr-xr-x 2 root root 4096 Mar 9 08:36 /var/lib/samba/profiles/monicaokeefe

It is owned by root, but you are launching GADMIN-SAMBA as your user. To work around this, I opened a command prompt and launched the application using sudo as follows:

          sudo gadmin-samba &

Now all of your groups, users, and relevant data is displayed as well. Hope that helps someone, even thought this is an old post.

-Scotsmon.