[ubuntu-uk] rsync chgrp problem - advice, please?
Kris Marsh
moogman at gmail.com
Thu Jun 7 12:05:55 BST 2007
On 6/7/07, Robert McWilliam <rmcw at allmail.net> wrote:
> On Thu, 07 Jun 2007 10:52:11 +0100
> luxxius <luxxius at googlemail.com> wrote:
> > I cannot access the music folder or its subfolders and files unless I
> > become root (sudo su). I can then see the folders and files. This is
> > the output of stat on the top level folder:
> >
> > root at diana-desktop:/home/diana# stat music
> > File: `music'
> > Size: 4096 Blocks: 8 IO Block: 4096
> > directory Device: 807h/2055d Inode: 16122206 Links: 69
> > Access: (0664/drw-rw-r--) Uid: ( 1000/ diana) Gid: ( 0/
> > root) Access: 2007-06-07 10:26:00.000000000 +0100
> > Modify: 2007-05-22 15:42:32.000000000 +0100
> > Change: 2007-06-07 08:46:51.000000000 +0100
> >
>
> I've just done some playing here and found the same problem with
> accessing a directory with drw-rw-r-- permissions. The problem goes
> away if I add executable permissions (making the permissions 764 for
> u+x). I'm not sure why you need executable permissions on a directory
> to see it's contents though...
>
> ________________________________________________________
> Robert McWilliam rmcw at allmail.net www.ormiret.com
>
> The downside of being better than everyone else is that people
> tend to assume you're pretentious...
>
> --
> ubuntu-uk at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.kubuntu.org/UKTeam/
>
How clumsy of me.
sudo -Rf chown diana:diana music
chmod -R 755 music
'755' are the standard file/folder permissions on Ubuntu. It means
anyone can read/access the file/folder and only the owner can write.
Sorry for adding to the confusion on this thread :-)
Kris
More information about the ubuntu-uk
mailing list