Reputation
240
Top tag
Next privilege 250 Rep.
View close votes
Badges
1 3 8
Impact
~29k people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Apr
2
awarded  Good Question
Nov
19
awarded  Yearling
Sep
23
awarded  Tumbleweed
Sep
16
asked Freedesktop complains that “name has no owner”
Apr
14
awarded  Famous Question
Jul
1
awarded  Notable Question
Jun
18
awarded  Caucus
Jun
2
accepted Can't install GRUB, no matter what
May
31
comment Can't install GRUB, no matter what
@NoTime boot-repair did the trick. Thank you! Can you write a proper answer, in order for me to upvote you?
May
31
asked Can't install GRUB, no matter what
Mar
27
awarded  Nice Question
Jan
27
awarded  Popular Question
Jul
10
awarded  Scholar
Jul
10
accepted How to check if a user can access a given file?
Jul
10
comment How to check if a user can access a given file?
@EvanTeitelman it worked, thanks!
Jul
10
awarded  Supporter
Jul
10
comment How to check if a user can access a given file?
@rush it worked! That extra exclamation negates the result of -r $FILE, right?
Jul
10
comment How to check if a user can access a given file?
@rush I tried to test it using the following file: /root/test/test.txt (permissions are 0755, 0700, and 0777). I issued ./script.sh /root/test/test.txt joe and it echoed original file /root/test/test.txt is readable for joe. Also, while trying this I misstyped the test dir: ./script.sh /root/tst/test.txt joe, and it echoed original file /root/tst/test.txt is readable for joe. Did I missed something?
Jul
10
comment How to check if a user can access a given file?
@EvanTeitelman I tried to test it using the following file: /root/test/test.txt (permissions are 0755, 0700, and 0777). I issued sudo -u joe ./check-permissions.sh /root/test/test.txt, and nothing happened. Did I missed something?
Jul
9
awarded  Student