The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cannot read a file with read(fd, buffer, buffersize) function naranja18she High Level Programming 3 06-12-2009 01:39 PM
Samba: share subfolder as read only. sparcman SUN Solaris 2 06-09-2009 06:05 AM
Command to view folder subfolder and its capacity shivu Shell Programming and Scripting 1 02-02-2009 08:36 AM
How to read a subfolder one by one in parent folder? kamatchirajan Shell Programming and Scripting 1 01-08-2009 05:56 PM
ls while read loop - internal read picking up wrong input dkieran Shell Programming and Scripting 2 05-14-2007 03:02 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-05-2009
sparcman sparcman is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 24
Question Samba read only subfolder.

Hi,

I need to make a folder read only under a fileshare that has full permissions granted to it. The fileshare with full permissions is /u02/prodfileshare. The folder I need to make read only for everyone except the owner of the folder is called /u02/prodfileshare/EFT/purchases. Details of my configuration are below.


# ls -ld /u02/prodfileshare/
drwxrwxrwx 48 oraprod dba 2048 Sep 30 14:31 /u02/prodfileshare/

# ls -ld /u02/prodfileshare/EFT/purchases
drwxr-xr-x 2 oraprod dba 512 Oct 2 12:47 /u02/prodfileshare/EFT/purchases


[global]
workgroup = EXAMPLE.COM
server string = Samba Server
security = SHARE
guest account = oraprod
log file = /var/samba/log/log.%m
max log size = 50
dns proxy = No


[homes]
comment = Home Directories
read only = No
browseable = No


[prod_fileshare]
comment = UAT Share
path = /u02/prodfileshare
read only = No
guest ok = Yes



Even though I have denied write access to group and other on the purchases folder itself using UNIX permissions, the users can still write to the folder when connecting through Samba. That's because the guest account is oraprod. This needs to be oraprod as an Oracle application accesses the folder as well. I have a test system where I can try different configurations if anyone has any ideas. If you need anymore information please let me know.

Thanks for your help,

Sparcman
Reply

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 On




All times are GMT -4. The time now is 10:00 PM.


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-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0