Mailing List Archive

rm doesn't remove!
Hi all,

I have some files into a machine that I don't have root access. There
are two files in this machine that I can't remove due to permission:

-bash-2.05b$ rm -- *
rm: cannot remove `Desktop.ini': Permission denied
rm: cannot remove `Sample Music.lnk': Permission denied
-bash-2.05b$ ls -l
total 8
-rw-r--r-- 1 flavio pg 191 Aug 10 15:07 Desktop.ini
-rwxrwxrwx 1 flavio pg 522 Aug 10 15:07 Sample Music.lnk*
-bash-2.05b$

The problem is that I am the user flavio, and I can change the
permissions of these two files but I can't delete them.

Does anyone know why?

best regards,

Flavio.


--
gentoo-user@gentoo.org mailing list
Re: rm doesn't remove! [ In reply to ]
Flávio L. C. de Moura wrote:
> Hi all,
>
> I have some files into a machine that I don't have root access. There
> are two files in this machine that I can't remove due to permission:
>
> -bash-2.05b$ rm -- *
> rm: cannot remove `Desktop.ini': Permission denied
> rm: cannot remove `Sample Music.lnk': Permission denied
> -bash-2.05b$ ls -l
> total 8
> -rw-r--r-- 1 flavio pg 191 Aug 10 15:07 Desktop.ini
> -rwxrwxrwx 1 flavio pg 522 Aug 10 15:07 Sample Music.lnk*
> -bash-2.05b$
>
> The problem is that I am the user flavio, and I can change the
> permissions of these two files but I can't delete them.
>
> Does anyone know why?
>
> best regards,
>
> Flavio.
>

Do you have write permissions to the folder these files are contained
in? Those permissions also cover changing the contents of that folder
(by removing files).

Holly

--
gentoo-user@gentoo.org mailing list
Re: rm doesn't remove! [ In reply to ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Looks like a samba share, for Windows Profile.

Seems like Windows has an eye for those files an locked them...

just try to shut down your workstation /cut off your shares and
retry removing...

hope it works...

BeowulfOF

Flávio L. C. de Moura wrote:
| Hi all,
|
| I have some files into a machine that I don't have root access. There
| are two files in this machine that I can't remove due to permission:
|
| -bash-2.05b$ rm -- *
| rm: cannot remove `Desktop.ini': Permission denied
| rm: cannot remove `Sample Music.lnk': Permission denied
| -bash-2.05b$ ls -l
| total 8
| -rw-r--r-- 1 flavio pg 191 Aug 10 15:07 Desktop.ini
| -rwxrwxrwx 1 flavio pg 522 Aug 10 15:07 Sample Music.lnk*
| -bash-2.05b$
|
| The problem is that I am the user flavio, and I can change the
| permissions of these two files but I can't delete them.
|
| Does anyone know why?
|
| best regards,
|
| Flavio.
|
|
| --
| gentoo-user@gentoo.org mailing list
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBUAIrcZpid1GuHxcRAgV9AJ9AwB3w+gmTLtciuTxxAhOjOzH96ACg2KS+
oF8y8EQBi5c1zGeAV4J+xwM=
=i0ts
-----END PGP SIGNATURE-----

--
gentoo-user@gentoo.org mailing list