Changes between Initial Version and Version 1 of Ticket #3163, comment 3


Ignore:
Timestamp:
01/28/14 22:30:29 (6 years ago)
Author:
egmont
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3163, comment 3

    initial v1  
    1 One more problematic case occurred to me with sudo. When you can't write a file, it's not necessarily because the it's owned by root. It can be that the file belongs to the user but has no write permissions. It could be that the file belongs to another (non-root) user, whom should we sudo then (and if we sudo to root, how would we set the file's owner/group)? It could be that the file belongs to someone else over a network filesystem, in that case sudo doesn't help either. I'm not saying it's impossible, I'm just saying it's probably terribly complicated and error prone and probably the wrong approach the address the initial problem. 
     1One more problematic case occurred to me with sudo. When you can't write a file, it's not necessarily because it's owned by root. It can be that the file belongs to the user but has no write permissions. It could be that the file belongs to another (non-root) user, whom should we sudo then (and if we sudo to root, how would we set the file's owner/group)? It could be that the file belongs to someone else over a network filesystem, in that case sudo doesn't help either. I'm not saying it's impossible, I'm just saying it's probably terribly complicated and error prone and probably the wrong approach the address the initial problem.