Re: [Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-13 Thread Daniel Hartwig
On 14 June 2013 04:30, ill <1014...@bugs.launchpad.net> wrote:
> It was already removed after I did the chattr command.
>

Next time, if someone asks for output from commands please take care
that you do it before resolving the problem.  Otherwise the output is
useless.

In any case, it is clear now that the file in question was immutable.
Immutable is an attribute intended to prevent potentially
indiscriminant actions from removing or modifying certain files.  Use
of 'rm -f' is a potentially indiscriminant action and therefore is not
a bug that this command will not remove an immutable file, even when
asked specially to act on that file.

 status invalid

This is not the forum to explain further.  If you like more
information please ask on one of the support channels at
, perhaps IRC or web forums.

This is absolutely not a bug.


** Changed in: coreutils (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-13 Thread ill
It was already removed after I did the chattr command.

** Changed in: coreutils (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-13 Thread C de-Avillez
OK. I assume the FS in question is the one under /dev/sdb1. I also
assume the 'ls -l' output is from it. So, what is the problem? 'rm-f
ldlinux.sys' will obviously not remove anything from /dev/sdb1, since
there is *NO* file called 'ldlinux.sys'.

What are we missing?

** Changed in: coreutils (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-12 Thread ill
$ mount
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
/dev/sda1 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
/dev/sda3 on /media/windows 7 type fuseblk 
(rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
gvfsd-fuse on /run/user/ill/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ill)
/dev/sdb1 on /media/4GB-ext2-usb type ext2 (rw,nosuid,nodev,uhelper=udisks)

$ sudo rm -f ldlinux.sys


$ ls -l
total 51332
-rw-r- 1 ill ill0 Jun 18  2012 1
-rw-r- 1 ill ill 11944844 Jun 18  2012 
linux-headers-3.4.3-030403_3.4.3-030403.201206171454_all.deb
-rw-r- 1 ill ill   919120 Jun 18  2012 
linux-headers-3.4.3-030403-generic_3.4.3-030403.201206171454_amd64.deb
-rw-r- 1 ill ill 12496788 Jun 18  2012 
linux-image-3.4.3-030403-generic_3.4.3-030403.201206171454_amd64.deb
-rw-r- 1 ill ill 27124446 Jun 18  2012 
linux-image-extra-3.4.3-030403-generic_3.4.3-030403.201206171454_amd64.deb

** Changed in: coreutils (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-12 Thread C de-Avillez
Thank you. Now, could you please answer the following (from Daniel's
questions in comment #4, plus one mine)?

What filesystem is this drive using? Provide output from ‘mount’ to
confirm.

Provide the complete output from executing:
$ sudo rm -f ldlinux.sys

provide the output of 'ls -l' showing the file you are trying to remove.

After replying, please change the status to New again.

** Changed in: coreutils (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-12 Thread ill
LSB Version:
core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description:Ubuntu 13.04
Release:13.04
Codename:   raring

rm (GNU coreutils) 8.20
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, David MacKenzie, Richard M. Stallman,


** Changed in: coreutils (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-10 Thread C de-Avillez
rm does not bug out and fail if ACL is in effect, and the file has been
acl-marked immutable. rm simply cannot act on the file (since ACL
settings trump over standard permissions).

Also, marking INCOMPLETE again -- you have not answered the questions we
asked you.

** Changed in: coreutils (Ubuntu)
   Status: New => Incomplete

** Changed in: coreutils (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-10 Thread ill
Why does the immutable attribute cause rm -f to bug out and fail?

** Changed in: coreutils (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-02 Thread C de-Avillez
Additionally, please provide the version of Ubuntu and of coreutils:

lsb_release -a
rm --version.

Please, on your next bug, use ' ubuntu-bug' instead: ubuntu-bug will
give us these basic data. After providing the information requested by
*both* the previous comment and this one, please set the bug status to
NEW. Please do not confirm your own bugs.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-02 Thread Daniel Hartwig
What filesystem is this drive using?  Provide output from ‘mount’ to
confirm.

Provide the complete output from executing:
$ sudo rm -f ldlinux.sys

Operation not permitted? Most likely cause of that on this file is attribute 
immutable.  Remove it with:
$ sudo chattr -i ldlinux.sys


** Changed in: coreutils (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1014831] Re: can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

2013-06-02 Thread Daniel Hartwig
** Summary changed:

- sudo rm -R filename does not remove a file
+ can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

** Changed in: ubuntu
   Status: Confirmed => New

** Package changed: ubuntu => coreutils (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1014831

Title:
  can not remove ldlinux.sys; sudo rm -Rf ldlinux.sys

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1014831/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs