Tag Info

New answers tagged

0

Since you've mucked up your libc and generally every useful utility depends on it, your only real convenient option is to boot off a Live CD / USB and fix it, or stick your hard drive in somebody else's computer (don't boot off it) and fix it from there. To fix it, undo what you did. However, your poor choice of the -f option to ln and presumed failure to ...


0

The /lib32 folder can only contain 32 bit libraries. You created a link of libc.so.6 in /lib32 that points to the 64 bit version of the same file. Get a 32 bit version of libc.so.6 and place it in the /lib32 folder.


0

I have two guesses: /home/myusername has 750 permissions, so Apache is not able to access subdirectories The mounted directory is still not accessible for other users (FUSE does it by default), try sshfs -o allow_other to fix that. Anyway, you need to determine whether it is something wrong with the Apache configuration or the Apache server can't access ...


1

What you want can be achieved by a union mount. The information in the wikipedia article should get you started: https://en.wikipedia.org/wiki/Union_mount


0

I changed my CYGWIN environment variable from export CYGWIN=winsymlinks:native to export CYGWIN=winsymlinks The former is in the current documentation, but that format is apparently not supported in Cygwin 1.7, even though 1.7 does support native NTFS links. Switching to the older format solved the issue.


1

I would do something like this, which creates a logging wrapper script to replace ln (go ahead and copy-and-paste it): l=$(which ln) mv $l $l.bak cat <<'EOF' >$l #!/bin/bash if grep -Eqw -- -s <<<"$@" echo "Symbolic link created by command: ln $@" >>/tmp/link_log fi <sed> EOF sed "s/<sed>/$l.bak/" -i $l chmod +x $l ...


0

Yes, It looks as if SELinux is the culprit: The -Z switch will work with most utilities to show SELinux security contexts (e.g, 'ls -Z', 'ps axZ' etc). $ ll -Z /var/www/html/hello -rw-r--r--. root root unconfined_u:object_r:httpd_sys_content_t:s0 /var/www/html/hello $ ll -Z /tmp/hello -rw-r--r--. root root unconfined_u:object_r:user_tmp_t:s0 ...


0

Are you setting FollowSymlinks in an .htaccess file? or in a <Directory> block? Apache documentation suggests that FollowSymlinks will only work in these contexts - could you post the relevant config? (posting as an answer due to insufficient points to comment)


0

Use NTFS junctions. You can make NTFS junction with special software. I recommend Link Shell Extension (LSE). It is freeware and easy to use. It also has good documentation with screenshots of all steps.


0

The man page of realpath says: realpath -s filename When the -s option is used realpath only removes the . and .. directories, but not symbolic links from filename. If the given filename argument is relative (i.e. does not start with '/'), realpath -s prepends to it the current directory name as obtained from the getcwd(2) system call before further ...



Top 50 recent answers are included