I'm using Linux Mint14 -64.
I have two users: rocco (main) and ospite (guest)
I shared /home/rocco/Pubblici (in english ->/home/rocco/Public)
rocco and ospite are using this directory and I want they can edit, write, read and delete everything inside.
After my modifications the 2 users can't edit not propetary files.
How can I solve my problem?
My idea is: ospite (in english guest) can use my PC just only for internet and can read, write and download file only in one directory shared with rocco.
(ospite must not have permissions to look other directories of my PC)
Some output:
Code: Select all
cat /etc/passwd
rocco:x:1000:1000:Rocco,,,:/home/rocco:/bin/bash
ospite:x:1001:1001:Ospite,,,,:/home/ospite:/bin/bash
Code: Select all
ls -l /home/rocco
drwxrwxrwx 2 rocco rocco-ospite 4096 gen 25 21:57 Pubblici
Code: Select all
ls -l /home/rocco/Pubblici/
-rw-r--r-- 1 ospite ospite 12 gen 22 21:26 file_ospite
-rw-r--r-- 1 rocco rocco 21 gen 22 21:17 file_rocco
Code: Select all
cat /etc/group
rocco:x:1000:rocco
ospite:x:1001:ospite
rocco-ospite:x:1002:ospite,rocco