Försöker öppna mitt delade iPhoto-bibliotek som jag har på en NFS-share på servern. Biblioteket skapade jag från början från Macbooken som inte har några som helst problem att lästa biblioteket.
för att ange vart biblioteket finns (NFS share). Men när jag försöker öppna iPhoto så gnäller den på att biblioteket är låst eller att jag inte har behörigheter till filerna (trots att jag har det!).
Alla filerna ägs av en användare (samma användare/UserID som finns på både Macbook och iMac).
Vet inte om det har något med saken att göra, men listar jag vissa bilder i biblioteket med `ls` så ser det ut såhär:
"-F Display a slash (`/') immediately after each pathname that is a directory, an asterisk (`*') after each that is executable, an at sign (`@') after each symbolic link ..."
Jo, jag förstår. Men i detta fall är det inte symboliska länkar.
OK, ny funktionalitet i ls i Mac OS 10.5.x
"The Long Format
If the -l option is given, the following information is displayed for
each file: file mode, number of links, owner name, group name, number of
bytes in the file, abbreviated month, day-of-month file was last modi-fied, modified,
fied, hour file last modified, minute file last modified, and the path-name. pathname.
name. In addition, for each directory whose contents are displayed, the
total number of 512-byte blocks used by the files in the directory is
displayed on a line by itself, immediately before the information for the
files in the directory. If the file or directory has extended
attributes, the permissions field printed by the -l option is followed by
a '@' character. ....."
Det verkar som om NFS autentiseringen bygger på UID och GID. Har dina användare samma UID och GID?
Javisst, GID kändes inte så aktuellt men UID är samma. 501 på FreeBSD vilket motsvarar mitt konto på både Macbook och iMac. För säkerhetsskull fixade jag även GID men det hjälpte inte.
Jag ska ikväll se om jag kan komma åt iPhoto-biblioteket från Macbooken igen. Jag har inte testat det sen några dagar tillbaka. Kanske är något annat centralt fel som även berör Macbooken.
"The Long Format
If the -l option is given, the following information is displayed for
each file: file mode, number of links, owner name, group name, number of
bytes in the file, abbreviated month, day-of-month file was last modi-fied, modified,
fied, hour file last modified, minute file last modified, and the path-name. pathname.
name. In addition, for each directory whose contents are displayed, the
total number of 512-byte blocks used by the files in the directory is
displayed on a line by itself, immediately before the information for the
files in the directory. If the file or directory has extended
attributes, the permissions field printed by the -l option is followed by
a '@' character. ....."
Jag ska ikväll se om jag kan komma åt iPhoto-biblioteket från Macbooken igen. Jag har inte testat det sen några dagar tillbaka. Kanske är något annat centralt fel som även berör Macbooken.
Vad har Apple tänkt att iPhoto gör om din NFS volym inte finns monterad när programmet startar, sätter om RootDirectory i plisten till default eller...?
Vad har Apple tänkt att iPhoto gör om din NFS volym inte finns monterad när programmet startar, sätter om RootDirectory i plisten till default eller...?
Ja, då gnäller den väl antagligen. Det spelar inte så stor roll för min del. Om den volymen inte finns tillgänglig så har jag större bekymmer än att jag inte kommer åt bilderna :)
i2n2 skrev:
Om det inte finns direkt i Mac OS X 10.5 så finns en beskrivning och länk till ett verktyg på arstechnica.
Vid en närmare titt så verkar det bara styra metadata till filerna. Det har alltså inget med rättigheterna att göra och jag tror heller inte att det är där problemet ligger längre.