Meaning of "This file uses advanced permissions"?
Reinhold Rumberger
rrumberger at web.de
Fri Dec 31 18:12:40 UTC 2010
Am Freitag 31 Dezember 2010, um 18:39:38 schrieb D. R. Evans:
> Reinhold Rumberger said the following at 12/29/2010 09:24 PM :
> >> Being a mostly-command-line guy I expected to see obvious differences in
> >> the output from "ls -al" and "lsattr" (I expect that all the GUI stuff
> >> is just essentially some kind of wrapper for these commands; that's
> >> often the case). But there's no obvious difference at all.
> >
> > You can try to see whether the effective permissions for your user
> > actually give you access. You can also try to remove acl support for the
> > file system. In /etc/fstab, remove the acl option, if there is one.
>
> 1. Yes, I have access. I tried copying one of the files with the advanced
> permissions and which amarok won't play, and it copied fine.
>
> 2. There is no acl anywhere option in /etc/fstab.
Then the acl option must be stored in the fs superblock. Assuming you're using
some extX filesystem, using "tune2fs -l <device file>" will display a list of
properties. The "Default mount options" one may contain "acl". If so and you
really don't use them, you can use "tune2fs -o ^acl <device file>" to remove
the option. This should take effect on the next mount.
If the acl option isn't there here, either, you can use mount to see whether
the filesystem was explicitly mounted with the option, otherwise this is a
fluke/bug, as ACLs aren't enabled for that filesystem.
> I guess I'll try a "chmod -R 644" and see if that changes the behaviour
> when amarok tries to play these files.
It's certaily worth a try, but AFAIK chmod doesn't know ACLs. (I don't know
whether this has changed in the last couple of years.)
If this is true, it shouldn't have any effect on the ACL.
--Reinhold
More information about the kubuntu-users
mailing list