-   Linux - Software (
-   -   which group and which owner (

ndaka123488 09-20-2011 03:24 AM

which group and which owner
I want to change ownership for my user folder.

How do I know to which group/owner to
chown to for all my samba users.

Right now no user has permission to write to this folder.

How do i know which group/owner to change to?

corp769 09-20-2011 03:54 AM


If you are talking about changing permissions for certain users, you will need to edit smb.conf and edit accordingly for the users you want to configure, and you will also need to chmod what files and directories you want to be read, written to, etc. As far as the individual directories, I recommend you create a seperate directory, instead of using your home directory itself.



ndaka123488 09-20-2011 04:07 AM

At the moment, the smb.conf is properly configured with the correct writtable permissions., chmod is ok, there are correct permissions on the folder. My question is how do I know that that specific user belongs to this group?

corp769 09-20-2011 04:32 AM

Are you talking about your smb.conf file still, or the directory where the files are stored?

ndaka123488 09-20-2011 06:35 AM

Im now talking about the directory in which my files are stored?

Were can i find information on to which group samba users belongs to?

My problem is

ls -l

drwxr-xr-x root:root usr/

I want to change ownership of this usr folder, I know how to change the ownership, that wont be a problem.
My problem is I do not understant to which group my users belong.


how will i find out about the owner/group of m samba users.
I dont have write permissions now because i im sure i do not have the correct owner/group assigned.


corp769 09-20-2011 05:54 PM

groups root
Once again, you shouldn't change the ownership of /usr - You should take my advise and create a new directory under /usr.

All times are GMT -5. The time now is 07:10 PM.