LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-12-2012, 05:10 AM   #1
Mryius
LQ Newbie
 
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
change permission on underlying mount point without unmounting


Does anyone know how I can do a 'chmod' to change the permissions on the underlying mount point of an already mounted file system? don't want to unmount if possible.

I need to remove the write acess for group & other for when the mount is not up.

The mounted fs replaces the original values with its own.

e.g

drwxrwxrwx root root /mnt/point

becomes when mounted

drwxrwxr-x user user /mnt/point

tia.
 
Old 07-12-2012, 06:05 AM   #2
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Rep: Reputation: Disabled
First of all is changing the owner as you stated by drwxrwxr-x user user /mnt/point here you use chown -R user:user /mnt/point then secondly change the permissions, there are many ways to change permissions, you should google, but for starters,
chmod 755 /mnt/point But you should better read about linux permissions to understand what's going on.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fuse mount point - Permission Denied sethusubbiah Linux - Newbie 2 05-16-2015 07:42 AM
NAS Mount Point Permission Issue? jamieb22 Linux - Security 1 11-09-2011 01:58 AM
show the permission of '/usr' mount point in AIX 5.3 shipon_97 AIX 1 11-19-2008 06:51 AM
Can't change mount point. RoaCh Of DisCor SUSE / openSUSE 9 05-09-2005 01:51 PM
how to change filesystem mount point? buehler Linux - Newbie 5 04-16-2005 11:19 AM


All times are GMT -5. The time now is 10:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration