Timeline for File permissions
Current License: CC BY-SA 3.0
26 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 10, 2016 at 14:21 | history | edited | techraf | CC BY-SA 3.0 |
deleted 1 character in body
|
| S Jun 28, 2014 at 22:28 | history | bounty ended | CommunityBot | ||
| S Jun 28, 2014 at 22:28 | history | notice removed | CommunityBot | ||
| Jun 26, 2014 at 9:22 | comment | added | totti |
What's the Output of whoami; echo $UID
|
|
| Jun 25, 2014 at 21:49 | comment | added | exussum | @datUser. That part is not important | |
| Jun 25, 2014 at 20:56 | comment | added | 111--- |
The shell script and the command line execution have two different cwd environments. This is causing a relative path to fail in the shell script.
|
|
| Jun 24, 2014 at 22:46 | answer | added | Martin von Wittich | timeline score: 0 | |
| Jun 24, 2014 at 22:31 | answer | added | Programster | timeline score: 0 | |
| Jun 24, 2014 at 17:19 | history | edited | exussum | CC BY-SA 3.0 |
added 575 characters in body
|
| Jun 24, 2014 at 17:17 | comment | added | exussum | @Programster added | |
| Jun 23, 2014 at 23:02 | comment | added | Programster |
can you show us the code that actually creates the symlink? I reckon this is probably a lack of absolute paths issue or similar. This is why I always write code paths relative paths to __DIR__. If you are trying to always create the symlink in the cwd, then it will fail whenever executing user is currently in a directory he cannot write to.
|
|
| Jun 21, 2014 at 23:49 | comment | added | exussum | @Gnouc 5.3.16 is the version | |
| Jun 21, 2014 at 5:02 | answer | added | totti | timeline score: 1 | |
| Jun 20, 2014 at 22:45 | history | tweeted | twitter.com/#!/StackUnix/status/480119320031535104 | ||
| Jun 20, 2014 at 20:44 | comment | added | cuonglm | What is yout php version? | |
| S Jun 20, 2014 at 20:37 | history | bounty started | exussum | ||
| S Jun 20, 2014 at 20:37 | history | notice added | exussum | Draw attention | |
| Jun 3, 2014 at 22:22 | history | edited | exussum | CC BY-SA 3.0 |
added 268 characters in body
|
| Jun 3, 2014 at 22:15 | comment | added | exussum | No idea - its an asustor nas box theres no /etc/lsb* file | |
| Jun 3, 2014 at 22:10 | comment | added | slm♦ | What's the underlying distro? | |
| Jun 3, 2014 at 22:09 | history | edited | slm♦ | CC BY-SA 3.0 |
deleted 1 character in body
|
| Jun 3, 2014 at 21:57 | comment | added | exussum |
the command setenforce doesnt exist so im fairly sure its not there
|
|
| Jun 3, 2014 at 21:50 | comment | added | dchirikov | Ok, see. Then try to check selinux and pwd, may be. | |
| Jun 3, 2014 at 21:43 | comment | added | exussum |
Yes in that case, to check the owner of testfile. Symlink works in the first and fails in the second, yet both are run by the same user
|
|
| Jun 3, 2014 at 21:42 | comment | added | dchirikov | AFAIK unlink() deletes file. Is that exactly what you want? | |
| Jun 3, 2014 at 21:28 | history | asked | exussum | CC BY-SA 3.0 |