Neat trick: Changing the permissions of an underlying mount point
A colleague of mine showed me a neat little trick in Solaris (I would guess sol 10 but perhaps earlier versions too) that I'd not seen before and thought I'd share here in case it's new for someone else also.
As most of you know, Solaris has the annoying habit of producing error messages when non-root users try to perform operations on filesystems mounted on a directory with less than 0555 permissions.
The only fix for this that I knew of (after hassling the engineer that got it wrong in the first place) was to stop everything that was using the filesystem, unmount it, change the perms, then remount again - yuck.
But this alternate way my colleague showed me appears to work without having to touch the filesystem mounted on our broken directory at all (obviously you should test this someplace safe before trying it in the wild though!):
Create some new mount point someplace:
Loopback mount the underlying filesystem:
Fix the permissions on your mountpoint:
Unmount:
And you're done!
hi people,
I'm trying to create a mount point, but am having no sucess at all, with the following:
mount -F ufs /dev/dsk/diskname /newdirectory
but i keep getting - mount-point /newdirectory doesn't exist.
What am i doing wrong/missing?
Thanks
Rc (1 Reply)
Hi All
I Know it is a really basic and stupid question perhaps...But I am going bonkers..
I have following valid paths in my unix system:
1. /opt/cdedev/informatica/InfSrv/app/bin
2. /vikas/cdedev/app
Both refer to the same physical location. So if I created one file 'test' in first... (3 Replies)
Ok. Here it is. I limited access to my external hard disk's partition/volume on Mac os X simply by changing permissions in Get Info window. But now the hard disk icon has disappeard and wont mount. Have tried different kind of soft to mount, but no luck. Then there is the utility called Terminal,... (0 Replies)
is there any command to know the list of mount points in a server.i need only the mount point lists.i tried using df but it was not helpful.i am using Solaris (1 Reply)
I have an assignment where I have to temporarily change the permissions on a mount point so that an ordinary user can't access it. Can anybody explain how to do this? I know that to change permissions you can use chmod. First I'm not sure which category "ordinary user" would fall under: owner,... (0 Replies)
Deart All,
can any one help to do this,
i need to change mount point in AIX 6
/opt/OM should be /usr/lpp/OM, how do i do....
Please help me Urgent issue (2 Replies)
Hi All,
I have an nfs share which I mounted to my linux machine as below.
df -k output
TSDapp-na-02:/vol/tsd_app_1/rn_jira
47185920 11663072 35522848 25% /opt/rn_jira
I have no entry for this in my /etc/fstab. I did it by the following way.
mount -t nfs... (2 Replies)
How to create a new mount point with 600GB and add 350 GBexisting mount point
Best if there step that i can follow or execute before i mount or add diskspace IN AIX
Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies
LEARN ABOUT SUSE
install-solaris
install-solaris(1M)install-solaris(1M)NAME
install-solaris - install the Solaris operating system
SYNOPSIS
install-solaris
install-solaris invokes the Solaris Install program. Depending on graphical capability and available memory at the time of invocation,
install-solaris invokes either a text-based installer or a graphical installer.
The following minimum requirements for physical memory dictate which features are available during installation:
For SPARC machines:
128 MB
Minimum physical memory for all installation types
128 MB
Minimum physical memory required for windowing system
384 MB
Minimum physical memory required for graphical-based installation
For x86 machines:
256 MB
Minimum physical memory for all installation types
256 MB
Minimum physical memory required for windowing system
512 MB
Minimum physical memory required for graphical-based installation
In some cases, even if the minimum physical memory is present, available virtual memory after system startup can limit the number of fea-
tures available.
install-solaris exists only on the Solaris installation media (CD or DVD) and should be invoked only from there. Refer to the for more
details.
install-solaris allows installation of the operating system onto any standalone system. install-solaris loads the software available on the
installation media. Refer to the for disk space requirements.
Refer to the for more information on the various menus and selections.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcdrom (Solaris instal- |
| |lation media) |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
pkginfo(1), install(1M), pkgadd(1M), attributes(5)
It is advisable to exit install-solaris by means of the exit options in the install-solaris menus.
23 Sep 2005 install-solaris(1M)