Difference between revisions of "Operating Systems 2017F: Assignment 4"

From Soma-notes
Jump to navigation Jump to search
(Created page with "'''This assignment is not yet finalized.''' # How do sshfs inode values relate to the inodes in the remotely mounted filesystem? # What lines in memoryll determine the inode...")
 
Line 3: Line 3:
# How do sshfs inode values relate to the inodes in the remotely mounted filesystem?
# How do sshfs inode values relate to the inodes in the remotely mounted filesystem?
# What lines in memoryll determine the inode numbers?
# What lines in memoryll determine the inode numbers?
# In sshfs, are a file's uid and gid values come from the remote server or from the mounting user's uid and gid?
# In sshfs, do a file's uid and gid values come from the remote server or from the mounting user's uid and gid?
# In sshfs, what determines whether a file operation is allowed or not?
# What permissions does a process require for regular file access?
# In sshfs, what determines whether a file operation is allowed or not, the remote ssh daemon, the remote kernel, the local kernel, or the local ssh process?
# When you run fusermount via execve, what euid does fusermount's process have?
# What environment variable allows ssh to connect to the local authentication agent?
# Why must ssh private keys only be readable by the owner?
# How do you control how many bytes dd writes with each write system call?
# When you make a write system call to a file on a sshfs-mounted filesystem, how many additional write (or writev) system calls must be executed, and what processes make those system calls?

Revision as of 00:32, 27 November 2017

This assignment is not yet finalized.

  1. How do sshfs inode values relate to the inodes in the remotely mounted filesystem?
  2. What lines in memoryll determine the inode numbers?
  3. In sshfs, do a file's uid and gid values come from the remote server or from the mounting user's uid and gid?
  4. What permissions does a process require for regular file access?
  5. In sshfs, what determines whether a file operation is allowed or not, the remote ssh daemon, the remote kernel, the local kernel, or the local ssh process?
  6. When you run fusermount via execve, what euid does fusermount's process have?
  7. What environment variable allows ssh to connect to the local authentication agent?
  8. Why must ssh private keys only be readable by the owner?
  9. How do you control how many bytes dd writes with each write system call?
  10. When you make a write system call to a file on a sshfs-mounted filesystem, how many additional write (or writev) system calls must be executed, and what processes make those system calls?