I found this:

"The fchownat() function shall be equivalent to the chown() and
lchown() functions except in the case where path specifies a relative
path. In this case the file to be changed is determined relative to the
directory associated with the file descriptor fd instead of the current
working directory. If the file descriptor was opened without O_SEARCH,
the function shall check whether directory searches are permitted using
the current permissions of the directory underlying the file descriptor.
If the file descriptor was opened with O_SEARCH, the function shall not
perform the check."

here

http://www.opengroup.org/onlinepubs/9699919799/functions/chown.html

Which seems to me, to confirm that relative path issue.

fchownat and lchown are not installed on my Ubuntu and are not
available in Synaptic.

What do you think?


-- 
ian_heys
------------------------------------------------------------------------
ian_heys's Profile: http://forums.slimdevices.com/member.php?userid=2629
View this thread: http://forums.slimdevices.com/showthread.php?t=48521

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

Reply via email to