Re: di chi è il link simbolico ?
cage <[email protected]>
| Newsgroups | gmane.linux.debian.user.italian |
|---|---|
| Message-ID | <[email protected]> |
On 06/07/25 13:32, Leonardo Boselli wrote: Ciao! [...] > ... ossia che root che pur riesce a leggere west.csw non riesce a > accedere usando un symlink creto da un utente normale (ma lo può togliere). Ma sei sicuro? In fondo un link simbolico, per quel che ricordo, e' un file con dentro un puntatore ad un altro file (o directory). ---------- cage@obayashi:~$ echo "test" > test.txt cage@obayashi:~$ ln -s test.txt link.txt cage@obayashi:~$ su - Password: cage@obayashi:~$ ls -lh *.txt lrwxrwxrwx 1 cage cage 8 6 lug 17.10 link.txt -> test.txt -rw-rw-r-- 1 cage cage 5 6 lug 17.09 test.txt cage@obayashi:~$ su - Password: root@obayashi:~# cd /home/cage/ root@obayashi:/home/cage# ls *.txt link.txt test.txt root@obayashi:/home/cage# cat link.txt test root@obayashi:/home/cage# ---------- La butto li: non e' che il problema e' sui permessi di accesso alla directory che contiene ill link? Ciao! C.