Visit Our UNIX and Linux User Community


How to lock file system access


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers How to lock file system access
# 1  
Old 10-28-2009
Java How to lock file system access

Hi Everybody..

I am using Moblin V2 which has nautilus file manager the one which is also used in Ubuntu.
I want to lock the access to file system such that i can only browse my home folder not other locations like /, /usr, /bin and all.

Or i want to create a partition of 10 or 15 GB so that i can only browse this partition not other folders of filesystem.

Thanks Guys.. waiting here for ur response..
Lokesh Singla
# 2  
Old 10-28-2009
Not aware of Moblin...

Generally if you dont have relevant permissions, then you will not able to navigate or edit. So take off the permissions.
# 3  
Old 10-30-2009
watch for oh !@#$

You need to watch for an oh !@#$ moment if you remove people permission to look at say /bin they will not longer be able to use ls.

A permission scheme of say 751 is not too bad because it lets people still use programs that they know about but takes away their permission to actually see what is there. Potential problem comes from whereis no longer returning anything useful.
# 4  
Old 10-30-2009
Do a search on this site about 'chroot'.
Padow
# 5  
Old 11-09-2009
Thanks a lot everybody.. specially nangus it worked.. i used chmod...Smilie
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #358
Difficulty: Medium
ibmawk is a fork of mawk, allowing applications to embed multiple parallel instances of awk interpreters.
True or False?

8 More Discussions You Might Find Interesting

1. Ubuntu

Help me to lock my system.

Hi All! I am not able to lock my Ubuntu 12.04 LXDE. Can anybody tell me the shortcut to lock the system. I have tried all conventional keyboard shortcuts as well as buttons. (2 Replies)
Discussion started by: nixhead
2 Replies

2. Shell Programming and Scripting

Shared File system- lib access issue

I have a C++ binary executable installed in a file system which is shared across multiple solaris boxes. When I start this executable from one of the boxes,I am able to start only 4 parallel instances and from the 5th instance onwards I am getting the following error. fatal: libdb2.so.1:... (2 Replies)
Discussion started by: prasperl
2 Replies

3. UNIX for Advanced & Expert Users

How to lock file system access

Hi Everybody.. I am using Moblin V2 which has nautilus file manager the one which is also used in Ubuntu. I want to lock the access to file system such that i can only browse my home folder not other locations like /, /usr, /bin and all. Or i want to create a partition of 10 or 15 GB so... (1 Reply)
Discussion started by: lokeshsingla
1 Replies

4. Ubuntu

Data Transfers Lock System Up Completely

I have two laptops on which I've installed Ubuntu Studio 9.04. The first laptop (Acer) has a Centrino 32-bit Intel CPU in it and the second (HP) has a 64-bit dual core Intel CPU. I'm running the 32-bit version of Ubuntu Studio on the Acer and the 64-bit version on the HP. While testing the... (5 Replies)
Discussion started by: deckard
5 Replies

5. Linux

file system access problem

I have 3 windows partitions (c,d,e) all of NTFS file system i mounted them while installing open suse in /win/c,/win/d,/win/e created a user other than "root" eg: "us1" problem 1: by loggimg into linux by user "us1" iam unable to see files in mounted... (2 Replies)
Discussion started by: seshumohan
2 Replies

6. UNIX for Dummies Questions & Answers

access collision with shared file system

Hello ALL, In my system, there are 14 machines running the same version of Linux RHEL4. The 14 machines use a NFS file system, i.e., a shared file system. My question is that if the programs in individual machines can access a common file simutaneously. Or, they have to access the file... (1 Reply)
Discussion started by: cy163
1 Replies

7. AIX

Cannot access NFS file system

I create a NFS file system. I can read this system from client, however, I cannot write anything in this folder. Why? (1 Reply)
Discussion started by: rainbow_bean
1 Replies

8. UNIX for Dummies Questions & Answers

Need help to access/mount so to access folder/files on a Remote System using Linux OS

Hi I need to access files from a specific folder of a Linux system from an another Linux System Remotely. I know how to, Export a folder on One SCO System & can access the same by using Import via., NFS in the Sco Unix SVR4 System using the scoadmin utility. Also, I know to use mount -t ... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies

Featured Tech Videos