Reply To: NSLU2/Firefly setup problems

#10752
Anonymous
Inactive

Would it be more:
find mp3 -type d -exec chmod 2775 {} ;

than …
find mp3 -type d exec chmod 2775 {} ;

There is the minus in front of the exec AFAIK.

spot on Patrick, that’s done it. Here’s a snippet for anyone following this thread:

# cd /share/flash/data
# ls -l
drwxrwxr-x 3 admin everyone 4096 Aug 1 18:17 TV
drwxrwxr-x 5 admin everyone 4096 Jun 9 09:12 backups
drwxrwxr-x 3 admin everyone 4096 May 24 22:59 dropfolder
drwx
2 root root 16384 May 10 18:54 lost+found
drwxrwxrwx 5 admin everyone 4096 Aug 1 19:12 mp3
drwxrwxrwx 2 root root 4096 Aug 2 21:38 mt-daapd
drwxrwxr-x 3 admin everyone 4096 May 22 21:54 public
-rw
1 root root 64064 Aug 2 18:20 quota.user
-rw
1 root root 64064 Aug 2 18:19 quota.user~
# find mp3 -type d -exec chmod 2775 {} ;
# find mp3 -type f -exec chmod 664 {} ;
# cd mp3
# ls -l
drwxrwsr-x 2 admin everyone 4096 Jul 28 10:02 Desktop Folder
drwxrwsr-x 589 admin everyone 20480 Aug 2 08:22 iTunes Music
-rw-rw-r-- 1 admin everyone 7415729 May 14 21:27 iTunes Music Library.xml
# cd "iTunes Music"
# ls -l
drwxrwsr-x 3 admin everyone 4096 Aug 12 2003 1 Giant Leap
drwxrwsr-x 3 admin everyone 4096 Aug 20 2003 A Man Called Adam
drwxrwsr-x 3 admin everyone 4096 May 12 2004 AURA
drwxrwsr-x 3 admin everyone 4096 Aug 12 2003 Aaron Neville
drwxrwsr-x 3 admin everyone 4096 Jan 3 2004 Adama Yalomba
drwxrwsr-x 3 admin everyone 4096 Jan 3 2004 Afel Bocoum
drwxrwsr-x 3 admin everyone 4096 Jan 3 2004 Aicha Bint Chighaly
drwxrwsr-x 3 admin everyone 4096 Apr 11 2004 Aim Feat. Kate Rogers
drwxrwsr-x 3 admin everyone 4096 Aug 20 2003 Airlock
drwxrwsr-x 3 admin everyone 4096 Apr 12 20:24 Al Di Meola _ John McLaughlin
drwxrwsr-x 3 admin everyone 4096 Apr 12 20:25 Al DiMeola
drwxrwsr-x 3 admin everyone 4096 Apr 10 2004 Albert Collins
drwxrwsr-x 3 admin everyone 4096 Apr 10 2004 Albert King
drwxrwsr-x 3 admin everyone 4096 Sep 27 2003 Alex Konadu
drwxrwsr-x 6 admin everyone 4096 Dec 30 2004 Ali Farka Toure
drwxrwsr-x 3 admin everyone 4096 Aug 1 2005 Ali Farka Touré And Toumani Diabeté

without wanting to lean on anyone for a linux tutorial ( 😯 ) I guess the only thing that I’m not completely understanding is the 2 numeric in front of the 775 which has introduced the ‘s’ at the end of ‘group’. I have read up sufficiently on the permissions process but I haven’t seen this format before. Ron, Partick or anyone else inclined… care to elaborate? 😉