Hi gcooper,
i thought i should not pollute the 8.0.3 near-release announcement post so i'll continue here.
The command you requested returned nothing (no .AppleDesktop file or directory in my dataset)
This is probably because the root directory of the dataset is not writable to the user that's accessing it which is the default setting since 8.0-R and i did not change anything there.
Plus i like it like that, it allows me to control the first level directories so that users do not clutter said directory.
So i tried to create a new dataset from scratch and sharing it, like i did in 8.0-R
Here's the log :
So... should i *really* put the first level directory writable to the "users" group (or world) for AFP to work properly ?
This was apparently not the case in 8.0-R (as i mentioned already a few times
and this would allow them to create whatever they want at first level.
I do not really have a lot of time to retest this with 8.0-R to make sure that what i'm saying is actually true in that version, but that's how i remember it.
If you have any idea on how to achieve what i want, i'd be glad.
Should i choose a specific-global-unshared-groupWritable directory to store all my CNID DBs ?
Thanks in advance for your time and help.
Pierre
i thought i should not pollute the 8.0.3 near-release announcement post so i'll continue here.
The command you requested returned nothing (no .AppleDesktop file or directory in my dataset)
This is probably because the root directory of the dataset is not writable to the user that's accessing it which is the default setting since 8.0-R and i did not change anything there.
Plus i like it like that, it allows me to control the first level directories so that users do not clutter said directory.
So i tried to create a new dataset from scratch and sharing it, like i did in 8.0-R
Here's the log :
#create dataset test from GUI
[pierre@freenas /mnt/pool/test]$ ls -la
total 3
drwxr-xr-x 2 root wheel 2 Dec 13 00:20 .
drwxr-xr-x 9 root wheel 9 Dec 13 00:20 ..
#su root
[root@freenas] /mnt/pool/test# mkdir toto
[root@freenas] /mnt/pool/test# chown pierre:users toto
[root@freenas] /mnt/pool/test# chmod g+w toto/
# from GUI, create AFP share test_share on test dataset, with R/W access for group users and DiskDiscovery (nothing else changed from default values)
# connecting to test_share as pierre (pierre:users) -- OK
# trying to copy a file to test_share -->>>> NOK CNID DB error message +log messages (see below)
Dec 13 00:25:45 freenas freenas[1743]: Executing: /bin/pgrep -F /var/run/afpd.pid afpd
Dec 13 00:25:46 freenas freenas[1743]: Executing: /bin/pgrep -F /var/run/afpd.pid afpd
Dec 13 00:25:49 freenas afpd[11839]: bind(fd, (struct sockaddr *)&address, address_length) failed: Address already in use
Dec 13 00:26:55 freenas afpd[11906]: AFP3.3 Login by nobody
Dec 13 00:26:57 freenas afpd[11906]: AFP logout by nobody
Dec 13 00:26:57 freenas afpd[11906]: dsi_stream_read: len:0, unexpected EOF
Dec 13 00:26:57 freenas afpd[11906]: afp_over_dsi: client logged out, terminating DSI session
Dec 13 00:26:57 freenas afpd[11906]: AFP statistics: 0.29 KB read, 0.28 KB written
Dec 13 00:27:04 freenas afpd[11933]: AFP3.3 Login by pierre
Dec 13 00:28:01 freenas cnid_metad[11837]: allocvolinfo("/mnt/pool/test"): No such file or directory
Dec 13 00:28:22 freenas last message repeated 22 times
Dec 13 00:28:22 freenas afpd[11933]: transmit: Request to dbd daemon (db_dir /mnt/pool/test) timed out.
Dec 13 00:28:22 freenas afpd[11933]: Reopen volume /mnt/pool/test using in memory temporary CNID DB.
So... should i *really* put the first level directory writable to the "users" group (or world) for AFP to work properly ?
This was apparently not the case in 8.0-R (as i mentioned already a few times
I do not really have a lot of time to retest this with 8.0-R to make sure that what i'm saying is actually true in that version, but that's how i remember it.
If you have any idea on how to achieve what i want, i'd be glad.
Should i choose a specific-global-unshared-groupWritable directory to store all my CNID DBs ?
Thanks in advance for your time and help.
Pierre