06-09-2009
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
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi friends,
I am getting some trubles in folder reading. I am having 10 subfolders inside server7 folder. i wanna to read a subfolder name first and check if the foldername gets started with "http". if so , i need to read a file inside that folder. This willl continue for... (1 Reply)
Discussion started by: kamatchirajan
1 Replies
2. UNIX and Linux Applications
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. ... (0 Replies)
Discussion started by: sparcman
0 Replies
3. Linux
Hi everyone! I'm trying to run a script when a folder is shared and when it stop being shared.
Is there something like .start_share or .stop_share scripts in Samba where I could run some commands?:confused:
edit: maybe with a wrapper in smbmount but I share folders via nautilus. Any ideas? (0 Replies)
Discussion started by: funyotros
0 Replies
4. Solaris
I'm running Solaris 10 with Samba server. The client is a Windows XP desktop. I have set this up for various other servers and this is the first time that I'm seeing the problem.
I have a prod & test solaris samba server configured exactly the same and the share is encrypted by Vormetric. The... (0 Replies)
Discussion started by: woot14
0 Replies
5. Shell Programming and Scripting
Hi,
I have the following subfolder with files:
/data/a/1/xxx.txt
/data/b/2/yyy.txt
/data/c/3/zzz.txt
And i have a set of new folders which have exactly the same structure as above but different disk without the files:
/data_02/a/1/
/data_02/b/2/
/data_02/c/3/
Now i would like to... (6 Replies)
Discussion started by: total_ysf
6 Replies
6. Solaris
Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account.
If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
7. Red Hat
I am setup a samba share server which is authenticating from Active Directory.
I am able to access the share with AD user but not able to access when group defined in "valid users" parameters.
below are the steps i performed.
In smb.conf
workgroup = QASLABS
password server =... (3 Replies)
Discussion started by: sunnysthakur
3 Replies
8. Red Hat
RH 6.4 Samba 3.5.10. Joined a Windows AD (net rpc)
I'm trying to create a public read-only share but regardless of the options I've tried users get prompted for a user/password.
Can someone tell me whats wrong with my setup? I'm trying to make a whole filesystem that will contain installation... (0 Replies)
Discussion started by: dignarn
0 Replies
9. Red Hat
Long running samba share. Never have any problems,
Suddenly started asking windows users for password - which doesnt work. Tried to manually reset smb password and manually map - still wrong password.
Restart samba? (2 Replies)
Discussion started by: psychocandy
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
I need to mount a directory from a Windows server to a CentOS box.
The Windows server used is Windows Server 2003, and the path to the directory that I want to mount on CentOS is C:\Tomcat6\webapps\NASApp\logs.
I am not sure of the correct way to mount this on CentOS, as most of the... (2 Replies)
Discussion started by: anaigini45
2 Replies
share(1M) share(1M)
NAME
share - make local resource available for mounting by remote systems
SYNOPSIS
FSType] specific_options] description] [pathname]
DESCRIPTION
The command exports, or makes a resource available for mounting, through a remote file system of type FSType.
If the option is omitted, the first file system type listed in is used as default.
For a description of NFS specific options, see share_nfs(1M).
pathname is the pathname of the directory to be shared. When invoked with no arguments, displays all shared file systems.
Options
recognizes the following options:
Specify the file system type.
The specific_options are used to control access of the shared resource. (See share_nfs(1M) for NFS specific options.) They may be
any of the following:
pathname
is shared read/write to all clients. This is also the default behavior.
Share the
pathname read-mostly if option is not provided. Read-mostly means read-write to those clients specified and read-only for
all other systems. If a option is provided, pathname is shared read/write only to the listed clients. No other systems
can access pathname.
pathname
is shared read-only to all clients.
pathname
is shared read-only only to the listed clients. No other systems can access pathname.
The flag may be used to provide a description of the resource being shared.
WARNINGS
Old terminology (export)
File system sharing used to be called on HP-UX, and was used for exporting file systems. With the new share NFS model, the command
replaces exportfs(1M) or
To support compatiblity with scripts that still invoke the exportfs command using the access= option, the share command will not fail when
the access option is used and the syntax matches the usage of exportfs(1M) from a release of HP-UX that does not support the share(1M) com-
mand. Attempts to use the access option with new share options, (i.e. sec=), may result in the access option begin rejected by the share
command. It is highly recommended that the access option not be used with the share command. Instead, use the ro= and rw= option to achieve
the desired access restrictions. This support of the access= option will be removed in a future release of HP-UX.
If commands are invoked multiple times on the same file system, the last invocation supersedes the previous; the options set by the last
command replace the old options. For example, if read-only permission was previously given to on use the following command to also give
read-only permission to on
This behavior is not limited to sharing the root file system, but applies to all file systems.
EXAMPLES
The following command wll share the file system read-only.
FILES
list of commands to be executed at boot time
list of distributed file system types, NFS by default
system record of shared file systems
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
mountd(1M), nfsd(1M), share_nfs(1M), shareall(1M), unshare(1M), dfstab(4), fstypes(4), sharetab(4).
share(1M)