09-28-2018
Your post#9 confirmed that my assumption in post#5 is right, and you should try my suggestion in post#3 to alter file ownership.
I forgot to mention that the "chown" requires "root=" permission on the NAS box (in the NFS exports), otherwise it will fail with error "Not owner".
These 2 Users Gave Thanks to MadeInGermany For This Post:
7 More Discussions You Might Find Interesting
1. HP-UX
Im trying to simply share a directory on one unix server and mount that share on a different unix server.
There is no "share" command like on sun. What is the command to create a share on HP-UX? (2 Replies)
Discussion started by: bski
2 Replies
2. IP Networking
Sometimes you get the tiger...but sometimes he get you and this latest home network “project” of mine has gnawed on me pretty badly. Perhaps you can offer some technical help. It will be heartily appreciated.
I have a small home network initially comprising two computers running Windows... (1 Reply)
Discussion started by: Annatar
1 Replies
3. UNIX for Advanced & Expert Users
Hi,
Im running 32-bit solaris on sparc. We have a NAS(Network attached drive), with its IP address, username and password.
I'd like to be able to mount it on the solaris machine, and unmount it.
The best possibility would be able to mount it simulataneously on 2 or more systems.
Please... (9 Replies)
Discussion started by: 0ktalmagik
9 Replies
4. Solaris
How to move home directory of NIS user from one system to another system in Solaris.
Thanks & Regards
Durgaprasad (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have two machines. M1 and M2 and having a generic id catadm, these two machines having common mount of /u/catadm directory.
with this setup, ssh autologin is failing for me and asking me to enter password when i try autologin using this generc id from M1 to M2
catadm-M1$ ssh... (3 Replies)
Discussion started by: rbalaj16
3 Replies
6. Solaris
Hi,
I recently added a disk on a solaris 9 and I wanted to make it accessible for another machine, using the same name
here is what i did :
On the machine holding the internal disk
in vfstab i added the line
/dev/dsk/c1t1d0s4 /dev/rdsk/c1t1d0s4 /SHARED2 ufs 2 yes ... (2 Replies)
Discussion started by: zionassedo
2 Replies
7. Solaris
Hi,
I am having some NFS directory consistency problems with the below setup on a local (192.) network:
1. Different permissions (chmod) for the same NFS dir are reflected on different clients.
2. (more serious) an NFS dir created on client1 cannot be accessed on client2; this applies to some... (10 Replies)
Discussion started by: cosmojetz
10 Replies
chown(8) System Manager's Manual chown(8)
Name
chown - change owner and, optionally, group
Syntax
/etc/chown [ -fR ] owner[.group] file...
Description
The command changes the owner and, optionally, group for one or more files and directories. The value for file can be a full or partial
path. The value for owner can be either a decimal UID or a login name found in the password file. The value for group can be either a
decimal GID or a group name found in the group file.
Only the superuser can change the ownership of a file. The superuser can also change the group of a file. The owner of a file can only
change the group, but the owner must be a member of any group specified.
Options
-f Inhibits display of errors that are returned when cannot change the owner or group of the specified files.
-R Causes to recursively descend any directories subordinate to file and to set the owner, group, or both for each file encountered.
When symbolic links are encountered, changes the owner and group for the link file itself but does not traverse the path associated
with the link. The option is useful only when file is a directory that is not empty.
Examples
Change the owner of to ecbell:
/etc/chown ecbell myfile
Change the owner of to craig and group of to admin:
/etc/chown craig.admin myfile
Change the owner to richart and group to eng for the directories and and for all files and directories on any levels subordinate to and
/etc/chown -R richart.eng projecta projectb
Files
See Also
chgrp(1), chown(2), group(5), group(5yp), passwd(5), passwd(5yp)
chown(8)