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
LEARN ABOUT NETBSD
mount_ptyfs
MOUNT_PTYFS(8) BSD System Manager's Manual MOUNT_PTYFS(8)
NAME
mount_ptyfs -- mount the /dev/pts file system
SYNOPSIS
mount_ptyfs [-g group|gid] [-m mode] [-o options] ptyfs mount_point
DESCRIPTION
The mount_ptyfs command attaches an instance of the pseudo-terminal device filesystem to the global filesystem namespace. The conventional
mount point is /dev/pts. The directory specified by mount_point is converted to an absolute path before use. This command is normally exe-
cuted by mount(8) at boot time.
The filesystem contains pseudo-terminal slave device nodes which are allocated dynamically via ptm(4), or they are already open via tradi-
tional BSD style ptys.
The options are as follows:
-g group|gid
Specify the group ownership of the slave pseudo-tty.
-m mode
Specify the default mode of the slave pseudo-tty.
-o Options are specified with a -o flag followed by a comma separated string of options.
mount_ptyfs specific options are group which corresponds to -g, and mode which corresponds to -m. See the mount(8) man page for pos-
sible options and their meanings.
FILES
n The nth pseudo-terminal device in use.
SEE ALSO
mount(2), unmount(2), ptm(4), fstab(5), mount(8)
HISTORY
The mount_ptyfs utility first appeared in NetBSD 3.0.
BUGS
When multiple instances are mounted, they all display the union of the ptys used in each instance, not just the ones used in the particular
instance.
BSD
September 19, 2012 BSD