File: readlink3

package info (click to toggle)
gesftpserver 2~ds-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 916 kB
  • sloc: ansic: 7,876; python: 206; makefile: 62; sh: 4
file content (16 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
!ln -s a b
ls -l b
#lrwxr.xr.x +\? +\d+ +\d+ +\d+ +[a-zA-Z]+ +\d+ +\d+:\d\d b -> a
readlink b
#a
!mkdir noreadperm
!ln -s ../a noreadperm/b
!chmod 000 noreadperm
readlink noreadperm/b
#.*permission denied.*
!ln -s afairlylonglinkbutwerestillgoingtohavetomakethebufferartificiallysmall t
readlink t
#afairlylonglinkbutwerestillgoingtohavetomakethebufferartificiallysmall
readlink ""
#.*operation failed