Skip to content

Is there any possible branch supporting running linuxptp-related tools without root privilege? #43

@lenardxu

Description

@lenardxu

Due to the restriction of the working computer, I have no root privilege. Thus, I've been trying the tools such ptp4l providd by your project and other projects, typically the original maintained by Richard (https://github.com/richardcochran/linuxptp) without root privilege. However, there is always the error like follows:
"""
xxx@weizenbaum:~/xxx/openil_linuxptp_install$ ./sbin/ptp4l -i enp3s0f0 -f configs/automotive-master.cfg --step_threshold=1 -m -S
ptp4l[4204.460]: failed to set the clock status: Operation not permitted
ptp4l[4204.461]: socket failed: Operation not permitted
ptp4l[4204.461]: port 1 (enp3s0f0): INITIALIZING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
ptp4l[4204.461]: uds: bind failed: Permission denied
ptp4l[4204.461]: port 0 (/var/run/ptp4l): INITIALIZING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
ptp4l[4204.462]: uds: bind failed: Permission denied
ptp4l[4204.462]: port 0 (/var/run/ptp4lro): INITIALIZING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
"""
So is there any chance I can use all the utilities inside linuxptp as a regular user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions