[PATCH] mkfs.ubifs: Add support for symlinks in device table
richard at nod.at
Fri May 19 01:24:32 PDT 2017
Am 19.05.2017 um 08:13 schrieb David Engraf:
>> Do you only care about the ls output or does one of your applications
>> depend on it?
> It's mainly the output of ls because I'm using a verify script checking ownership of each file. Without having the ability to set the ownership of symlinks it will fail because ls
> returns a uid/gid of my host development system which is not valid on the target.
this makes sense.
Please also massage this comment in devtable.c:
* Don't bother with symlinks (permissions are irrelevant), hard links (special
* cases of regular files), or sockets (why bother).
and make sure that the permissions are not set for symlinks.
Otherwise I'd give users the impression that symlinks have permissions.
More information about the linux-mtd