Change permissions on a mount point


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Change permissions on a mount point
# 1  
Old 04-16-2009
Change permissions on a mount point

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, group, or other users. So I was thinking of just doing chmod 000 DIRECTORY_NAME. However, the permissions that I'm supposed to change are for one of the directories that comes up when I type the command df. However, all of these directories seem to have some sort of protection from changing their permissions. I hope it makes sense what I have to do. Any direction is greatly appreciated!
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

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

2. AIX

How to change the mount point of LV?

I have situation where my disk upon reboot, has its mount point as # LOGICAL VOLUME: disk4vol VOLUME GROUP: disk4vg LV IDENTIFIER: 00f609aa00004c0000000152414b786c.1 PERMISSION: read/write VG STATE: active/complete LV STATE: closed/syncd TYPE: jfs2 WRITE VERIFY: off MAX LPs: 512 PP SIZE: 512... (1 Reply)
Discussion started by: mrmurdock
1 Replies

3. Shell Programming and Scripting

ksh; Change file permissions, update file, change permissions back?

Hi, I am creating a ksh script to search for a string of text inside files within a directory tree. Some of these file are going to be read/execute only. I know to use chmod to change the permissions of the file, but I want to preserve the original permissions after writing to the file. How can I... (3 Replies)
Discussion started by: right_coaster
3 Replies

4. AIX

Change Mount point

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)
Discussion started by: gulamibrahim
2 Replies

5. Solaris

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... (6 Replies)
Discussion started by: Smiling Dragon
6 Replies

6. AIX

Creating a new mount point

Hello, I have an AIX Oracle database server that I need to create a new filesystem/mount where I can create a new ORacle home to install 11g on. What are the needed steps to create this? There are mounts for Oracle 9i and 10g already. Thank you. - David (7 Replies)
Discussion started by: dkranes
7 Replies

7. UNIX for Dummies Questions & Answers

How to change the file modification time of a file on nfs mount point

Hi I am accessing a file on nfs mounted device, after completing using of the file, i am tring to restore the access time and modification times of the file. So i got the previous modified time of the file using stat() function and trying to set the date and time for the file, To set these... (6 Replies)
Discussion started by: deepthi.s
6 Replies

8. UNIX for Dummies Questions & Answers

question on change of mount point

Hello Folks, had a basic question mount point and renaming it. on AIX 5.3 box, I have a filesystem Filesystem GB blocks Free %Used Mounted on /dev/issclv01 1.00 0.50 50% /issc/doc Now instead of /issc/doc, i want to rename it to /issc is it as... (2 Replies)
Discussion started by: karthikosu
2 Replies

9. UNIX for Dummies Questions & Answers

concept of mount point

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)
Discussion started by: Vikas Sood
3 Replies

10. UNIX for Dummies Questions & Answers

mount point

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)
Discussion started by: colesy
1 Replies
Login or Register to Ask a Question
COPYFS-MOUNT(1) 						   User Commands						   COPYFS-MOUNT(1)

NAME
copyfs-mount - mounts a versioned file system SYNOPSIS
copyfs-mount version-directory mount-point DESCRIPTION
This script lets you mount a CopyFS file system. version-directory is the directory where the files and version information will be stored by CopyFS. When using CopyFS for the first time, copyfs-mount will create the required files in the version-directory before running copyfs-daemon. mount-point is the directory where the copyfs file system will be mounted. This is where the users will have access to the files. If you want to mount a CopyFS at '/mnt/fs', whose version directory is at /var/versions, you would use: root@host# copyfs-mount /var/versions /mnt/fs To unmount it, simply do: root@host# umount /mnt/fs As you would do for any other filesystem. You can also allow an ordinary non-root users to mount and unmount CopyFS filesystems provided that the user is added to the 'fuse' group. Ordinary users will be able unmount the filesystem, using the fusermount command: $ fusermount -u mount-point AUTHORS
CopyFS was created by Thomas Joubert and Nicolas Vigier <boklm@mars-attacks.org> LINKS
<http://n0x.org/copyfs/> CopyFS web site. <http://fuse.sourceforge.net/> FUSE - Filesystem in USErspace SEE ALSO
copyfs(1), copyfs-fversion(1), copyfs-daemon(1), fusermount(1) copyfs-mount May 2008 COPYFS-MOUNT(1)