Re: di chi è il link simbolico ?

Leonardo Boselli <[email protected]>
Newsgroups gmane.linux.debian.user.italian
Message-ID <[email protected]>
On Sun, 13 Jul 2025, Davide Prina wrote:

> Leonardo Boselli ha scritto:
>
>> root@pier:~# lsattr /var/ram/REFE.csv
>> lsattr: Operation not supported While reading flags on /var/ram/REFE.csv
>
> /var/ram è un tmpfs

SI

> $ df | grep /var/ram

Filesystem     1K-blocks  Used Available Use% Mounted on
none                1024   432       592  43% /var/ram

> e sui tmpfs è disabilitato in modo predefinito.
> Quindi non può essere questo il problema.
>
> È davvero strano come problema e non mi viene in mente nulla.
> Prova ad indicare esattamente come avviene la creazione del link simbolico.
>
> Ma dove/come è creato /var/ram?

da crontab di un utente:

57 5-13 * * * /usr/bin/sudo /usr/bin/ln -sf /var/ram/west.csv /var/ram/REFE.csv

(ho dovuto mettere il sudo perché è stato l'unico modo per dare a REFE gli 
stessi accessi che west )

> C'è in /etc/fstab?
> $ grep /var/ram /etc/fstab

none /var/ram tmpfs noatime,noexec,nosuid,nodev,mode=1777,size=1M 0 0

> altre info:
> $ file /var/ram/REFE.csv

/var/ram/REFE.csv: symbolic link to /var/ram/west.csv

> $ lsof /var/ram/REFE.csv

lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
       Output information may be incomplete.

> $ lslocks | grep /var/ram

(esce senza scrivere nulla)


--
Leonardo Boselli
Firenze, Toscana, Europa
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.