Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Mac OS X Catalina - NFS File Access Behavior in CRON or Launchd Post 303045433 by sea on Friday 20th of March 2020 12:22:28 PM
Old 03-20-2020
Smilie
hth = hope this helps
Smilie

I'm no Mac user, so I cant tell from accurate (to you) practice.
But once I've mounted a NAS path, I could always read files - once I was able to see the directories.

I might not have had write access, but read was always possible when mounted successfully as root (usualy using CIFS, not sure if that applies).

Also, have a re-try with just su as I'm not sure wether or not you had passed that dash, which would make su 'adapt' partialy to the env of the user (kind of, lost in translation and memory).

Comes to mind, check your 'mount nas' options, they might 'provoke' list only.

Also, forgot to say earlier, please use ICODE (Icon: >_) for 'on line' commands, and 'CODE' tags (Icon: </>) for multi-line output, such as your initial post.

hth
 

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Strange IP traffic behavior when using Samba and FTP (Windows/Mac to Linux)

I have set up a samba share on my Linux server. I have a gigabit switch, gigabit NICs in each machine. I have set up the /etc/samba/smb.conf to support no delay, 8192 send/receive buffers, etc. This helped the rate for Samba go from about 4MB/S to about 10MB/S, but I expect to see about... (1 Reply)
Discussion started by: perspectx
1 Replies

2. AIX

Cannot access NFS file system

I create a NFS file system. I can read this system from client, however, I cannot write anything in this folder. Why? (1 Reply)
Discussion started by: rainbow_bean
1 Replies

3. Shell Programming and Scripting

Behavior of Bad Script in Cron Job

Hi A Ksh script is deployed in a server and executed through cronjob. If one of the line in the middle of the script fails . Are the remaining lines executed ? (3 Replies)
Discussion started by: Sivaswami
3 Replies

4. Red Hat

NFS Access Issue

Hi, I am facing issue on NFS. I have shared /data file file system on Server 192.192.192.1, added below lines in /etc/exports /data 192.192.192.2(rw,no_root_squash,sync) the owner of /data directory was test(uid 500) and same I have mounted on another server 192.192.192.2 where the... (3 Replies)
Discussion started by: manoj.solaris
3 Replies

5. Shell Programming and Scripting

grep startup messages from catalina.out file

Hello Team, I am trying to extract date from the following output and trying to compare with current date and if there is 10 minute difference between the two. it should logs message in the file server is started.can anyone help me to implement this in the script? (1 Reply)
Discussion started by: coolguyamy
1 Replies

6. UNIX for Advanced & Expert Users

Different redirection behavior in BASH/Linux when run under cron vice login ???

run_xfs_fsr is a xfs filesystem maintenance script designed to run under cron. The system is a home theater personal computer running mythbuntu 10.10, and is accessed remotely for these tests. cron runs a script, (xfs_fsr.sh) at 02:30 that runs the subject script under BASH and sets the... (3 Replies)
Discussion started by: keepitsimpleeng
3 Replies

7. UNIX for Dummies Questions & Answers

Launchd-owned processes unexpected behavior

Ok, so I have been struggling with this for a few days and I think I need an explanation of a few things before I go any further. I'm not sure it's possible to do what I'm trying, so before I pull my hair out, here is what I'm doing: I have written a program in LiveCode that sits on our... (2 Replies)
Discussion started by: nextyoyoma
2 Replies
mount_lofs(1M)															    mount_lofs(1M)

NAME
mount_lofs: mount, umount - mount and unmount LOFS file systems SYNOPSIS
specific_options] {special_directory|directory} specific_options] special_directory directory {special_directory|directory} DESCRIPTION
The command mounts LOFS file systems. Only superuser can mount LOFS file systems. Other users can use to list mounted file systems. attaches special_directory, a directory from one of the mounted file systems, to directory, an another directory in one of the mounted file systems. This enables new file systems to be created, which provide access to existing directories or file systems using alternate path names. Both special_directory and directory should already exist. directory will become the root of the newly mounted LOFS file system, containing the file system hierarchy under special_directory. special_directory and directory must be specified as absolute path names. If either special_directory or directory is omitted, attempts to determine the missing value from an entry in the file. can be invoked on any removable file system, except If is invoked without any arguments, it lists all the mounted file systems from the file system mount table, The command unmounts mounted file systems. Only a superuser can unmount file systems. Options (mount) recognizes the following options: Attempt to mount all file systems described in All optional fields in must be included and supported. If is specified, all LOFS file systems in are mounted. If is specified in an entry's option list, this entry is skipped. File systems are not necessarily mounted in the order listed in Verbose mode. Write a message to standard output indicating which file system is being mounted. Specify the LOFS file system type (see fstyp(1M)). Limit actions to local file systems only. LOFS is a local file system. Specify options specific to the LOFS file system type. specific_options is a list of comma separated suboptions and/or keyword/attribute pairs intended for the LOFS spe- cific module of the command. The following specific_options are valid on an LOFS file system: Use all default options. When used, this must be the only option specified. Read-only (see below). Report the list of mounted file systems in the format. Prevent display of error messages resulting from an attempt to mount already mounted file systems. Mount the specified file system as read-only (see below). Report the output in a new style. The new style has the file system type and flags displayed in addition to the old output. The directory and spe- cial_directory fields are reversed. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. Options (umount) The command recognizes the following options: Attempt to unmount all file systems described in All optional fields in must be included and supported. If file system type is specified, all the LOFS file systems in are unmounted. File systems are not necessarily unmounted in the order listed in Specify the LOFS file system type (see fstyp(1M)). Verbose mode. Write a message to standard output indicating which file system is being unmounted. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. EXAMPLES
Mount an LOFS file system: Mount another LOFS file system: WARNINGS
LOFS file systems provide the user with numerous applications; however, they may be potentially confusing. LOFS file systems should gener- ally be created by an experienced user. For LOFS file systems which are mounted read-only, if the underlying file system is mounted writable, certain write operations on the LOFS will succeed. Thus LOFS should not be relied upon to provide a strictly write-only alternative image of a read-write file system. AUTHOR
was developed by HP, AT&T, the University of California, Berkeley, and Sun Microsystems. FILES
Static information about the file systems Mounted file system table SEE ALSO
mount(1M), mount(2), fstab(4), mnttab(4). STANDARDS CONFORMANCE
mount_lofs(1M)
All times are GMT -4. The time now is 02:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy