LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-27-2009, 01:14 PM   #1
lupusyonderboy1
LQ Newbie
 
Registered: Sep 2006
Posts: 12

Rep: Reputation: 0
change samba share permissions using CLI that were initially set with Nautilus


I followed these directions to set up Samba on my Ubuntu 8.10 box: http://www.funnestra.org/ubuntu/intrepid/#samba

Nowadays however I don't use the server graphically, so I can't change the sharing options graphically with Nautilus like that link recommends.

I've looked in /etc/samba/smb.conf but it does NOT contain the directory permission information currently in use that I set with Nautilus. Does Nautilus store its changes in some auxiliary file I can't find?
 
Old 05-27-2009, 02:38 PM   #2
barghota
Member
 
Registered: Jul 2003
Location: Cairo, Egypt
Distribution: CentOS, RHEL, Debian, FreeBSD
Posts: 94

Rep: Reputation: 38
What are the exact changes you want to do with you share?

If want to change the the share to be authorized by certain users only, add

Quote:
valid users = user1 user2
public = no
to the share definition in smb.conf
 
Old 05-27-2009, 04:27 PM   #3
lupusyonderboy1
LQ Newbie
 
Registered: Sep 2006
Posts: 12

Original Poster
Rep: Reputation: 0
so that's the thing! nothing in smb.conf contains the directories that are already being shared (the ones i set up graphically in nautilus). is nautilus storing them somewhere else?

maybe the following is part of it?

;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
 
  


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
change access permissions on Samba share from win2k? TongueTied Linux - Software 2 03-25-2011 02:28 PM
Script to change password in initially set as *LK* RaelOM Programming 5 08-13-2008 03:25 PM
Using a Windows XP client to set permissions on a Samba share Wendellz Linux - Software 2 02-09-2007 08:01 AM
how to set Samba directory / share permissions rwtreke Linux - General 2 02-16-2006 03:24 PM
change access permissions on Samba share from win2k? TongueTied Linux - Software 1 08-27-2003 04:00 PM


All times are GMT -5. The time now is 09:38 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