Mark Lanctot;201831 Wrote: 
> Hmm, tried this and it's a bit of a chicken-and-egg thing.  If I run the
> chown and find command as anything other than root (though "sudo") it
> won't allow me due to incorrect permissions.
> 
> But when I do these commands as root, they run fine but all the
> permissions are changed to root only?  I am no longer permitted to
> place files in the music directory, only root can do that.

Only root can chown... so, yes, you need to be root to do that... but
you may not need to do that at all.  My point is that the music files
are owned by me (not as slimserver, but my real uid).  This is so I can
muck with tags all I want, I can rip, delete and otherwise change
things.

so: "chown -R me ..." to make them mine in case someone/something else
thinks they wanted them.

The find/exec/chmod is to change the permissions on each file so that I
can rwx them, but group and other can only read (and x directories).  If
the files/directories are owned by you, this shouldn't create any
problems, it should just tidy up permissions.


-- 
snarlydwarf
------------------------------------------------------------------------
snarlydwarf's Profile: http://forums.slimdevices.com/member.php?userid=1179
View this thread: http://forums.slimdevices.com/showthread.php?t=35254

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to