Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to lock file system access Post 302365874 by lokeshsingla on Wednesday 28th of October 2009 08:42:03 AM
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
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
tis_read_trylock(3)					     Library Functions Manual					       tis_read_trylock(3)

NAME
tis_read_trylock - Attempts to acquire a read-write lock for read access. Does not wait if the lock cannot be immediately granted. LIBRARY
Standard C Library (libc.so, libc.a) SYNOPSIS
#include <tis.h> int tis_read_trylock( tis_rwlock_t *lock); STANDARDS
None PARAMETERS
Address of the read-write lock to be acquired. DESCRIPTION
This routine attempts to acquire a read-write lock for read access. If the lock cannot be granted, the routine returns without waiting. When a thread calls this routine, an attempt is made to immediately acquire the lock for read access. If the lock is acquired, zero (0) is returned. If a holder of the lock for write access exists, [EBUSY] is returned. If the lock cannot be acquired for read access immediately, the calling program does not wait for the lock to be released. RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows: Successful completion; the lock was acquired. The lock is being held for write access. The lock for read access was not acquired. ERRORS
None RELATED INFORMATION
Functions: tis_read_lock(3), tis_read_unlock(3), tis_rwlock_destroy(3), tis_rwlock_init(3), tis_write_lock(3), tis_write_trylock(3), tis_write_unlock(3) Manuals: Guide to DECthreads and Programmer's Guide delim off tis_read_trylock(3)
All times are GMT -4. The time now is 09:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy