1832410 Members
3179 Online
110041 Solutions
New Discussion

shared folder

 
Indrajit Bhagat
Regular Advisor

shared folder

how to share file and folder in unix
3 REPLIES 3
Victor Fridyev
Honored Contributor

Re: shared folder

For this purpose you have NFS (network file system), if the folder should be accessible from UNIX machine or Samba server if you need to work with files located on Windows macines.

HTH
Entities are not to be multiplied beyond necessity - RTFM
James R. Ferguson
Acclaimed Contributor

Re: shared folder

Hi Indrajit:

First, in Unix, we don't use the word "folder". The proper name is "directory". In fact, a simple 'ls -l' listing shows a directory with a "d" and a regular file with a "-".

To "share" a file, you establish it's 'group' or 'world' permissions as readable, executable, and/or writeable.

See the 'chmod(1)' man pages for changing a file or directory's permissions.

To control the 'group' ownership of a file or directory see the man pages for 'chown(1).

To be able to work with files in a directory, the directory must offer execute permissions (in order to be searched).

Too, the ability to remove (delete) a file in a directory is controlled by having write-permission on the directory itself.

You might want read this document:

http://www.docs.hp.com/en/B2355-90164/B2355-90164.pdf

Regards!

...JRF...
AwadheshPandey
Honored Contributor

Re: shared folder

check nfs and rpc dameon running on ur system. edit the file sytem /etc/exports file which u want to export.
run exportfs -a command to export file system.
to mount the filesystem to another host
use mount -F nfs hostname(or ip):/dev/vgxx/test /test

Cheers,
Awadhesh
It's kind of fun to do the impossible