Mailinglist Archive: opensuse (1264 mails)

< Previous Next >
Re: [opensuse] File delete permissions.
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Thu, 08 Jun 2017 20:45:03 +0200
  • Message-id: <ohc5vf$q4i$1@saturn.local.net>
Carlos E. R. wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Hi,

I'm user 'cer'. To avoid deleting by mistake some files, I changed
their ownership to another user:

cer@Isengard:~/Fusion/Videos/Crossing Jordan/Temporada 1> l p*mpeg
- -rw-r--r-- 1 cer-g root 0 Jun 8 19:50 p.mpeg
- -rw-r--r-- 1 cer-g root 0 Jun 8 19:50 p2.mpeg
- -rw-r--r-- 1 cer-g root 0 Jun 8 19:50 p3.mpeg
- -rw-r--r-- 1 cer-g root 0 Jun 8 19:50 p4.mpeg
cer@Isengard:~/Fusion/Videos/Crossing Jordan/Temporada 1> rm p.mpeg
rm: remove write-protected regular empty file 'p.mpeg'? n
cer@Isengard:~/Fusion/Videos/Crossing Jordan/Temporada 1>


See? 'rm' doubts and asks.
However, 'mc' doesn't ask and goes ahead, it happily deletes a file
that is not mine.

I guess you own the directory.



--
Per Jessen, Zürich (21.3°C)
http://www.dns24.ch/ - your free DNS host, made in Switzerland.


--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References