08-23-2016
Quote:
Originally Posted by
gull04
Hi freshmeat,
Am I correct when I say this is a Cluster, if it is can you give us some more info on the configs.
I'm not sure that you'd be able to mount this up with two unique UID's, as when the service fails over all the existing connections will be lost - the good thing is that the half that couldn't work will now be working.
I's possibly a little messy, but it would be better to use the group access for the fail over service.
Regards
Gull04
Hi Gull04,
This is not a cluster disk but it is only a normal folder and need to mount as SMBFS. For example, the ownership is ID A and able to mount SMBFS on node1. On node2, ID B not able to mount SMBFS due to the folder ownership is ID A.
10 More Discussions You Might Find Interesting
1. Linux
all the files and directories in my system are owned by root only.i try to(from root loggin) change the permission on the file but not permitted.can any one help to fix my problem .also while installing any software always error occur like no makefile available (1 Reply)
Discussion started by: jop
1 Replies
2. Red Hat
Hi,
I am using redhat AS 3. Recently, I was asked to implement a security control on the OS: to change ownership of /var/log/wtmp to root:sys and permission to 600. However, when I made the change and reboot the machine, everything was reverted. How come? Please help.
The following is the... (1 Reply)
Discussion started by: voa2mp3
1 Replies
3. UNIX for Advanced & Expert Users
Folks,
I have a problem with a particular file, that seems to have some kind of lock on it, that takes around 1 hour approx to timeout. I have used lsof and nothing has an open file handle on it, yet I cannot open it. My user/group owns the file and I can create edit/delete files in... (6 Replies)
Discussion started by: scottrus
6 Replies
4. Shell Programming and Scripting
Hi, all!
Is it possible to use umask and to set the file permission level as 775?
I know I can add chmod into my scripts but I just want to explore the umask option.
Thanks! (1 Reply)
Discussion started by: visio2000
1 Replies
5. Shell Programming and Scripting
I want to change the permission of a file when it gets created in a particular directory. For instance, I have directory MyDir. Everytime a file gets created in that directory, I would like to change the permission to 777.
The context is that I have a 3rd party appication running as root. Only... (2 Replies)
Discussion started by: laiko
2 Replies
6. Shell Programming and Scripting
Here is the sample code I'm trying to execute. I see that the permission on the file is set to 755 always I want to change it to 777. Please help me with this.
code :
#!/usr/bin/perl
use File::Path qw(make_path remove_tree);
my $path = "2010/sam";
make_path($path,{mode=>0777});
... (1 Reply)
Discussion started by: hansini
1 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to setup a directory structure for my staff which enables them full access to files in the directories with their name, and have access to anything in the shared directory. The directory structure looks like this:
root@www10 # ls -l
total 56
drwxr-xr-x 7 internal internal 4096... (3 Replies)
Discussion started by: v_greg
3 Replies
8. UNIX for Advanced & Expert Users
Default file system currently is 664.
I would like to get it as 774.
As other users of the same group was not able execute the file created any any user.
chmod cannot be used in my case. (Files are created and executed the programs owned by different vendors)
we know that umask is not going... (3 Replies)
Discussion started by: deepakwins
3 Replies
9. Shell Programming and Scripting
Hi All,
can some one suggest me a tool to compare file ownership/permission and contents of files located at two different unix servers?
Thanks,
Pranav (1 Reply)
Discussion started by: Pranav Bhasker
1 Replies
10. AIX
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Discussion started by: bobochacha29
8 Replies
MNT(3) Library Functions Manual MNT(3)
NAME
mnt - attach to 9P servers
SYNOPSIS
#M
DESCRIPTION
The mount driver is used by the mount system call (but not bind; see bind(2)) to connect the name space of a process to the service pro-
vided by a 9P server over a communications channel. After the mount, system calls involving files in that portion of the name space will
be converted by the mount driver into the appropriate 9P messages to the server.
The mount system call issues session and attach(5) messages to the server to identify and validate the user of the connection. Each dis-
tinct user of a connection must mount it separately; the mount driver multiplexes the access of the various users and their processes to
the service.
File-oriented system calls are converted by the kernel into messages in the 9P protocol. Within the kernel, 9P is implemented by procedure
calls to the various kernel device drivers. The mount driver translates these procedure calls into remote procedure calls to be transmit-
ted as messages over the communication channel to the server. Each message is implemented by a write of the corresponding protocol message
to the server channel followed by a read on the server channel to get the reply. Errors in the reply message are turned into system call
error returns.
A read(2) or write system call on a file served by the mount driver may be translated into more than one message, since there is a maximum
data size for a 9P message. The system call will return when the specified number of bytes have been transferred or a short reply is
returned.
The string is an illegal file name, so this device can only be accessed directly by the kernel.
SEE ALSO
bind(2)
SOURCE
/sys/src/9/port/devmnt.c
BUGS
When mounting a service through the mount driver, that is, when the channel being multiplexed is itself a file being served by the mount
driver, large messages may be broken in two.
MNT(3)