Linux

Creating a shared directory under Linux

When two users on Linux need to share files, accession rights can be quite a problem. By default only the one who creates the file can read and modify it, even if it is saved in a directory that is accessible by the other. It appears to me still impossible to solve this problem completely as Linux cannot "inherit" privileges to newly creates/saved files based on their parent directories privileges (BTW: how has Mac OS X solved this problem?)

The following instructions create a shared directory, but require additional tweaks.
As root

Changing environment variables (env, csh, bash)

I just install BackupPC. The perl install script complains that my environment variable LANG is set to en_US.UTF-8 and that it should be en_US. This setting is specificed in RedHat 9 Linux in the file /etc/sysconfig/i18n. To check what is the current value of the LANG variable type echo $LANG. To change or set the variable to en_US type LANG=en_US To show all environment variables, just enter

env

at the command line.

Pages