LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-20-2011, 03:24 AM   #1
ndaka123488
Member
 
Registered: Aug 2011
Posts: 62

Rep: Reputation: Disabled
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?
 
Old 09-20-2011, 03:54 AM   #2
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Hello,

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.

Cheers,

Josh
 
Old 09-20-2011, 04:07 AM   #3
ndaka123488
Member
 
Registered: Aug 2011
Posts: 62

Original Poster
Rep: Reputation: Disabled
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?
 
Old 09-20-2011, 04:32 AM   #4
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
Are you talking about your smb.conf file still, or the directory where the files are stored?
 
Old 09-20-2011, 06:35 AM   #5
ndaka123488
Member
 
Registered: Aug 2011
Posts: 62

Original Poster
Rep: Reputation: Disabled
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.

root:root

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.

Help?
 
Old 09-20-2011, 05:54 PM   #6
corp769
Guru
 
Registered: Apr 2005
Posts: 5,807

Rep: Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996Reputation: 996
http://www.manpagez.com/man/1/groups/
Example:
Code:
groups root
Once again, you shouldn't change the ownership of /usr - You should take my advise and create a new directory under /usr.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing Group and Owner for 3 users acctman Linux - Server 3 04-20-2009 10:34 AM
owner 1058 group 103 ? muddywaters Linux - General 3 02-17-2006 12:36 PM
Changing owner and group of file surfbass Linux - General 2 12-12-2005 02:25 PM
group owner etc MI3GTO Mandriva 3 02-27-2005 08:26 PM
Group as owner instead of a user dtournas Linux - General 1 09-11-2003 10:13 AM


All times are GMT -5. The time now is 09:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration