Go Back   The UNIX and Linux Forums > Operating Systems > Solaris
.
google site



Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-08-2009
Registered User
 

Join Date: Mar 2009
Posts: 30
Samba: share subfolder as read only.

Hi,

Currently I have a Samba shared configured as follows:

[pub_fileshare]
comment = Public fileshare
path = /u02/pub
guest ok = Yes
writeable = Yes

There is a subfolder under /u02/pub called /u02/pub/expenses/hardware that I need to make read only. How do I do this? I am new to using Samba.

I configured the share /u02/pub/expenses/hardware using the configuration below. This works as it is shared as read only.

[Hardware]
comment = Hardware share
path = /u02/pub/expenses/hardware
read only = Yes
guest ok = Yes

User can still access the folder through \\servername\pub\expenses\hardware with write permissions. How do I make it read only?




Thanks.
Sponsored Links
  #2 (permalink)  
Old 06-08-2009
pludi's Avatar
pludi pludi is online now Forum Staff  
Moderator
 

Join Date: Dec 2008
Location: .at
Posts: 2,963
Did you reload the configuration?
  #3 (permalink)  
Old 06-09-2009
Registered User
 

Join Date: Mar 2009
Posts: 30
Red face

Hi Pludi,

I read that Samba rereads the configuration every 30 seconds? I can connect to the new share and it is read only so would that have verified that the configuration was reread?

It does make sense that connecting through the writable share to the hardware directory that I will be able to write to it. Then connecting to the new read only hardware share directly I can only read.

I would imagine that I have to put some entry in here to configure the hardware share as read only?

[pub_fileshare]
comment = Public fileshare
path = /u02/pub
guest ok = Yes
writeable = Yes

Thanks
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mount Windows share on Redhat, WITHOUT Samba? jksena Red Hat 1 05-15-2009 12:48 PM
How to read a subfolder one by one in parent folder? kamatchirajan Shell Programming and Scripting 1 01-08-2009 05:56 PM
How to mount windows Share on solaris using SAMBA daya.pandit Solaris 2 11-12-2008 12:06 AM
Read and share these 5 reasons to avoid ... Linux Bot UNIX and Linux RSS News 0 07-11-2008 08:00 PM
How to Mount a Remote NTFS Share for Read/Write under Linux shew01 UNIX for Advanced & Expert Users 2 07-06-2008 10:20 AM



All times are GMT -4. The time now is 08:28 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0