06-03-2010
You must be either root or the owner of the files to be edited.
If its NFS mounted, did you mount it as read-only?
Last edited by incredible; 06-03-2010 at 10:23 PM..
10 More Discussions You Might Find Interesting
1. SCO
Hello ,
I 've got a problem with the root partition on my SCO 5.0.5 .
When I check the disk with df or mount , I can 't see the root filesystem .
# mount
/stand on /dev/boot read only on Tue Sep 05 16:13:51 2006
/home on /dev/home read/write on Tue Sep 05 16:14:41 2006
But , if I try... (3 Replies)
Discussion started by: npn35
3 Replies
2. UNIX for Dummies Questions & Answers
I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
Discussion started by: duke0001
4 Replies
3. Linux
can somebody help me out in editing the /etc/fstab. I am on RHEL5 (Tikanga).
**The problem is that i have given a wrong LABEL in /etc/fstab for root volume and so after reboot, it is unable to resolve the wrong LABEL;
so, i have to edit the /etc/fstab :-(
-ilan (3 Replies)
Discussion started by: ilan
3 Replies
4. Shell Programming and Scripting
Hi All,
I need to create a file which contains the list of all the files present in that directory.
e.g.,
ls /export/home/user/*.dat > list_file.dat
but what i am getting is:
$ ls /export/home/user/*.dat > list_file.dat
/export/home/user/*.dat: No such file or directory
But I have... (1 Reply)
Discussion started by: pranavagarwal
1 Replies
5. Solaris
# ls -l
total 10
-rw-r--r-- 1 dummy2 other 140 Jun 19 21:37 local.cshrc
-rw-r--r-- 1 dummy2 other 136 Jun 19 21:37 local.cshrc~
-rw-r--r-- 1 dummy2 other 157 Jun 19 21:37 local.login
-rw-r--r-- 1 dummy2 other 178 Jun 19 21:37 local.profile... (6 Replies)
Discussion started by: chidori
6 Replies
6. Shell Programming and Scripting
Hi,
My requirement is,there is a directory location like:
:camp/current/
In this location there can be different flat files that are generated in a single day with same header and the data will be different, differentiated by timestamp, so i need to verify how many files are generated... (10 Replies)
Discussion started by: srikanth_sagi
10 Replies
7. Shell Programming and Scripting
Hi all,
I am looking for a script which renames all the files from the present directory.
Eg.:
In unix directory contains the below files
linux001.txt
linux002.txt
linux003.txt
......
.......
Now the files should be renamed to
unix001.txt
unix002.txt
unix003.txt
Could anyone... (8 Replies)
Discussion started by: scriptscript
8 Replies
8. Shell Programming and Scripting
Hi all,
I have a directory with multiple (thousnads) of files, which are named this way
ABCDEF.wo.im-1
OKRAME.ire.roi
IOJEAFO01.irt.gfg
IMNYBL05.REG.gkf
I would like to keep the part of the name (everything before the first dot in the filename).
The desired output:
ABCDEF... (3 Replies)
Discussion started by: Error404
3 Replies
9. UNIX for Dummies Questions & Answers
Hi
I am unable to find files, those are present anywhere in the same directory tree, based on the creation date. I need to find the files with their path, as I need to create them in another location and move them. I need some help with a script that may do the job.
Please help (2 Replies)
Discussion started by: sam192837465
2 Replies
10. UNIX for Dummies Questions & Answers
Hello
I need to install a new application on my linux server but needs to have a new directory e.g /opt/InCharge as this is the directory that the application would ask for during installation .This directory needs to be mounted
if df -h it should appear as mounted (9 Replies)
Discussion started by: DOkuwa
9 Replies
LEARN ABOUT OSX
mount_webdav
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