wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

File Sharing

profile
Vedant Rana
Sep 08, 2024
0 Likes
0 Discussions
98 Reads

In multiuser systems, effective file sharing involves addressing access rights and managing simultaneous access.

Access Rights:

The file system must provide flexible mechanisms for file sharing by defining various access rights for users or groups. These rights control how files can be accessed and modified. Here’s a summary of typical access rights:

1. None: The user cannot access or even see the file, as the file does not appear in the user's directory listings. This ensures total privacy.

2. Knowledge: The user can see that the file exists and who owns it but cannot access its contents. They can request additional access from the file owner.

3. Execution: The user can execute a program but cannot copy it. This is often used for proprietary software to allow running without duplication.

4. Reading: The user can view and copy the file’s contents. Some systems differentiate between just viewing and copying, where viewing displays content without permitting duplication.

5.Appending: The user can add data to the file, typically only at the end. This is useful for log files or accumulating data from multiple sources, without modifying existing data.

6. Updating: The user can modify, delete, or add data to the file. This includes creating, rewriting, and removing parts of the file. Some systems provide varying levels of update rights.

7. Changing Protection: The user can alter access rights for others. Typically, only the file owner can change these rights, though they may delegate this ability. Owners can specify which rights are modifiable.

8. Deletion: The user can remove the file from the file system entirely.

These rights are hierarchical. For instance, having updating rights implies having all rights below it, such as knowledge, execution, reading, and appending.

Files are owned by the creator, who holds all access rights and can grant permissions to others. Access can be set for:

- Specific Users: Individual users identified by their user ID.

- User Groups: Groups of users, with system mechanisms tracking group membership.

- All Users: Public files accessible to anyone on the system.

Simultaneous Access

When multiple users have rights to append or update a file, the system must manage access to prevent conflicts and maintain integrity. This involves:

- File Locking: A simple approach where a user locks the entire file during updates to prevent others from accessing it simultaneously.

- Record Locking: A more refined method where individual records within the file are locked, allowing multiple users to access different parts of the file concurrently.

These methods address the readers/writers problem, focusing on mutual exclusion and deadlock prevention to ensure smooth and consistent file access.


Comments ()


Sign in

Read Next

Working with Sniffers for monitoring network communication

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

WHAT IS SNAPCHAT AND HOW DOES IT WORK?

Blog banner

Jira Software

Blog banner

IT service level agreement

Blog banner

Child labour

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

Key to success in Sports

Blog banner

Software

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Data Visualization- Importance and tools (Tableau,Power BI, Matplotlib)

Blog banner

Jio .....A Revolution ?? ??

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

Virtual memory

Blog banner

Why Businesses Are Investing More in Automation than Advertising?

Blog banner

MQTT (MQ Telemetry Transport) in Data Science

Blog banner

Getting to Kashmir: Alternative to the Jammu-Srinagar highway

Blog banner

Security issues

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Processing Crime and Incident Scenes

Blog banner

I Personally

Blog banner

LINUX

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

A Traveller’s Guide to Offbeat Places in Arcadia, Florida

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Visualization in Data Science

Blog banner

Exploring Arcadia’s Cowboy Culture, Peace River & Hidden Attractions

Blog banner

Blockchain Transactions

Blog banner

Benefits and drawback of web security.

Blog banner

MAILFENCE

Blog banner

Online Games

Blog banner

Broken Authentication Attacks

Blog banner

The Evolution of Operating Systems

Blog banner

Rapido

Blog banner

Uniprocessor Scheduling

Blog banner

RAID

Blog banner

Some web vulnerabilities

Blog banner

Secure Hypertext transfer protocol

Blog banner