file sharing


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users file sharing
# 1  
Old 08-10-2005
Network file sharing

i want to share some file to some user of my group(there are many users in a perticular group). So how should i do that?And i m not a super user.
# 2  
Old 08-10-2005
Not secure:
1. change protections on you directories/files to allow group read access - use chmod

More secure:
1. copy the file to /var/tmp or /tmp and chmod to allow group/world read access.
2. if you don't want anyone esle to read the file, then leave default protections and then
Code:
chown newuser /var/tmp/filename

# 3  
Old 08-10-2005
Help

but by this entire my group will access it , but i want only some of them to access
# 4  
Old 08-10-2005
Then you have a problem. You can grant access to one user, or to the whole group.
Not just three users in a group.

The second solution above lets one user see the file. Unless the world read or group read is on.

If your filesystem supports access control lists, then you can manipulate the acl to allow only certain users access to the file(s). Most Unix filesystems do not natively support acl's. If your system has acl's then
Code:
man chacl

should show you how to do it.
# 5  
Old 08-11-2005
Help

can we have anything like .rhosts or .ssh/knownhosts ?
# 6  
Old 08-11-2005
The only real solution is to create a new group.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

UDP Socket File Sharing

Hai, I am having one server/client both running in different host in UDP. How can i assure whether the data is recieved properly in client side. I am writing 250 KB in Server and client reading only 150 KB data. I am using select write in server and select read in client also.If i am putting one... (1 Reply)
Discussion started by: andrew.paul
1 Replies

2. Red Hat

Public file sharing on redhat

Hello, I want to share my folder on redhat like 192.168.x.x\share But I can't use 3rd party packets/application or something like that. And I want to see shared folder on windows2003 server command with \\192.168.x.x\share. Basicly I need to know what should I do step by step. (13 Replies)
Discussion started by: getrue
13 Replies

3. HP-UX

mount windows file sharing on hp-ux

Hi all, Can anyone teach me how to mount windows file sharing on hp-ux thanks (2 Replies)
Discussion started by: pantas manik
2 Replies

4. UNIX for Dummies Questions & Answers

file sharing

Hello all, Just curious. I have several unix echo commands(echo Y > file.txt) running in parallel(each directs a value of 'Y' to the same file). What happens if 2 echo's collide(trying to the write to the same file at the same time)? Not sure how unix deals with this. Thanks ... (1 Reply)
Discussion started by: robert4732
1 Replies

5. Linux

Please help me, about the file sharing with windows system

Did anybody can teach me how to set the premission in the samba server? How to i set the premission in one folder but two access right. With one folder but the user access rights is diffirent. One user can full access the folder, and another one user only read only. thx for helping... (1 Reply)
Discussion started by: cloudlor
1 Replies

6. UNIX for Dummies Questions & Answers

File sharing

I'm not sur how Im a new user (6 Replies)
Discussion started by: chris1982
6 Replies

7. IP Networking

sharing of IP address for load sharing avoiding virtual server & redirection machine

I have RedHat 9.0 installed on three of my servers (PIII - 233MHz) and want that they share a common IP address so that any request made reaches each of the servers. Can anyone suggest how should I setup my LAN. I'm new to networking in Linux so please elaborate and would be thankful for a timely... (2 Replies)
Discussion started by: Rakesh Ranjan
2 Replies

8. Windows & DOS: Issues & Discussions

TCP ports and file sharing

In using a music file sharing program (WinMx), I am told that I cannot make a primary connection (fastest downloads) because I do not have a TCP and UDP port. I am running Windows Me.What do I do? Thanks. (6 Replies)
Discussion started by: dookster5
6 Replies

9. UNIX for Dummies Questions & Answers

file sharing

my computer and the rest of my network run Mac OS X , and i was wondering how or if your can transfer files from other computers with the Terminal. i also wanna know where i can download a free UNIX version and more on the sudo command (2 Replies)
Discussion started by: Pyrohotdog
2 Replies
Login or Register to Ask a Question