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_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 10:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy