Sponsored Content
Full Discussion: File group issues
Top Forums UNIX for Beginners Questions & Answers File group issues Post 302989666 by Don Cragun on Tuesday 17th of January 2017 04:40:51 AM
Old 01-17-2017
Hi bakunin,
I agree that a much more explicit statement of what is wrong would help. My assumption is that the group ID on the log file on the working server (csp) is the desired result and the group ID on the non-working server (mftp) is the wrong result.

Hi arunkumar_mca,
My first guess was that the primary group of user mftp is csp on the working servers and is mftp on the non-working server. Another likely possibility is that the directory in which the files are located is configured to use the GID of the containing directory on some of the servers and is configured to use the effective GID of the creating process on some of the servers. In addition to showing us the output of the command:
Code:
groups mftp

on each server, please also show us the output from the commands:
Code:
ls -ld .
df .
mount
uname -a

on each server while sitting in the directory where 117001.log is located on that server. (Note that the mount command might not be in your normal command search path and might not appear in section 1 of your man pages. On many systems, the command might be /sbin/mount or /etc/mount.) What we are looking for is the permissions on the directory where 117001.log is being created, the filesystem type being used to store that directory, and the operating system (including the release number) being used on each system.
This User Gave Thanks to Don Cragun For This Post:
 

9 More Discussions You Might Find Interesting

1. Red Hat

Issues with LDAP user/group permissions on NFS share

I can't seem to make sense of this. $ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.2 Beta (Tikanga) $ $ mount /dev/sda2 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda1 on... (6 Replies)
Discussion started by: dfinn
6 Replies

2. Shell Programming and Scripting

Merge group numbers and add a column containing group names

I have a file in the following format. Groups of data merge together and the group number is indicated above each group. 1 adrf dfgr dfg 2 dfgr dfgr 3 dfef dfr fd 4 fgrt fgr fgg 5 fgrt fgr (3 Replies)
Discussion started by: Lucky Ali
3 Replies

3. Shell Programming and Scripting

Merge group numbers and add a column containing group names

Hi All I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group. 1 1 12 26 289 3.2e-027 GCGTATGGCGGC 2 12 26 215 6.7e+006 TTCCACCTTTTG 3 9 26 175 ... (1 Reply)
Discussion started by: Lucky Ali
1 Replies

4. Shell Programming and Scripting

Sort the file contents in each group....print the group title as well

I've this file and need to sort the data in each group File would look like this ... cat file1.txt Reason : ABC 12345-0023 32123-5400 32442-5333 Reason : DEF 42523-3453 23345-3311 Reason : HIJ 454553-0001 I would like to sort each group on the last 4 fileds and print them... (11 Replies)
Discussion started by: prash184u
11 Replies

5. Shell Programming and Scripting

need a one liner to grep a group info from /etc/group and use that result to search passwd file

/etc/group tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453 bin::2:root,daemon sys::3:root,bin,adm adm::4:root,daemon uucp::5:root /etc/passwd mk789:x:234:1::/export/home/dummy:/bin/sh po312:x:234:1::/export/home/dummy:/bin/sh ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies

6. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

7. UNIX for Advanced & Expert Users

File command return wrong filetype while file holds group separator char.

hi, I am trying to get the FileType using the File command. I have one file, which holds Group separator along with ASCII character. It's a Text file. But when I ran the File command the FileType is coming as "data". It should be "ASCII, Text file". Is the latest version of File... (6 Replies)
Discussion started by: Arpitak29
6 Replies

8. Shell Programming and Scripting

Awk: File Checking Issues with 9 multiple file

Hi, I have 9 files which are generated dynamically & if there is a some condition which doesn't meet the criteria then file is not created or is of zero size. so further i am unable to consolidate the files based on following code 1 awk -F, -v ptime="201407" 'FNR==1... (3 Replies)
Discussion started by: siramitsharma
3 Replies

9. Programming

Sql ORA-00937: not a single-group group function

I'm trying to return only one row with the highest value for PCT_MAX_USED. Any suggestions? When I add this code, I get the ORA-00937 error. trunc(max(decode( kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100))) pct_max_used This is the original and returns all rows. select (select... (3 Replies)
Discussion started by: progkcp
3 Replies
MOUNT_WEBDAV(8) 					    BSD System Manager's Manual 					   MOUNT_WEBDAV(8)

NAME
mount_webdav -- mount a WebDAV filesystem SYNOPSIS
mount_webdav [-s] [-S] [-i] [-v volume_name] [-o options] [scheme://]host[:port][/path] node DESCRIPTION
The mount_webdav command mounts the WebDAV-enabled server directory at [scheme://]host[:port][/path] at the mount point indicated by node. The user and group IDs for all files and directories are set to unknown, and the permissions default to read, write and execute for user, group and other. The arguments and options are: -s Require that authentication credentials be sent securely to the server. Note: If this option is not set, sending authentication cre- dentials insecurely to the server will be allowed but will be logged. -S Suppresses all user interface including the authentication dialogs and the non-responsive ("disconnect") server dialogs. If the server connection becomes non-responsive, the file system is immediately unmounted when this option has been used. -i Interactive mode, you are prompted for the username and password. -o Options passed to mount(2) are specified with the -o option followed by a comma-separated string of options. See the mount(8) man page for possible options and their meanings. If connecting to a Class 1 compliant WebDAV server, the rdonly option will be set even if it was not specified because mount_webdav will not allow files to be opened with write access on servers which do not support the DAV LOCK method. -v volume_name Allows the volume_name attribute (ATTR_VOL_NAME) returned by getattrlist(2) to be specified. If the volume_name is not specified, the last path component name of the node path is used as the volume_name. [scheme://]host[:port][/path] The WebDAV-enabled server directory (collection resource) to mount as a volume. The scheme, if specified, must be "http://" or "https://". If the scheme is not specified, then "http://" is used. If the port is not specified, then port 80 is used when the scheme is "http://" or port 443 is used when the scheme is "https://". If the path is not specified, then the path "/" is used. node Path to mount point. Note: The mount point directory must be created or exist before issuing the mount_webdav command. EXAMPLES
The following example illustrates how to mount the WebDAV-enabled server directory http://idisk.mac.com/membername/ at the mount point /Volumes/mntpnt/. Note: The mountpoint directory /Volumes/mntpnt/ must be created before issuing the mount_webdav command. mount_webdav http://idisk.mac.com/membername/ /Volumes/mntpnt/ DIAGNOSTICS
The mount_webdav utility exits 0 on success, and >0 if an error occurs. Here is a list of common results (other error results not listed may be returned): 0 mount_webdav successfully mounted the server directory. [ENOENT] The server directory could not be mounted by mount_webdav because the node path is invalid. [ENODEV] The server directory could not be mounted by mount_webdav because it is not WebDAV-enabled or because it does not exist, or because node does not have proper access. [ECANCELED] The server directory could not be mounted by mount_webdav because the user did not provide proper authentication creden- tials. COMPATIBILITY
As noted above, the -afd option is considered deprecated in Mac OS X 10.4 and may not be supported in future releases. Use the FSMountServer- VolumeSync() and FSMountServerVolumeAsync() APIs in CarbonCore/Files.h instead. SEE ALSO
mount(2), unmount(2), mount(8) getattrlist(2) HISTORY
The mount_webdav command first appeared Mac OS X Version 10.0. Support for HTTP Digest Access authentication was added in Mac OS X Version 10.1.1. Support for the https URL scheme, and for additional authentication methods and proxies supported by the CFNetwork framework were added in Mac OS X Version 10.4. Mac OS X October 27, 2008 Mac OS X
All times are GMT -4. The time now is 08:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy