Groups
Groups
Sign in
Groups
Groups
NYCU NASA 課程討論區
Conversations
About
Send feedback
Help
[SA HW2] sysadm 檔案建立權限
66 views
Skip to first unread message
陳靖昀
unread,
Nov 12, 2025, 6:23:24 AM
Nov 12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
助教您好:
我用了getfacl確認sysadm在public的權限如下圖,但用OJ測卻會卡在sftp-user-public這筆測資,error message 是 [Error]: sysadm cannot create file or directory in public, adjust your setting!
讓我比較疑惑的是我前兩筆測資都有通過,想請問這個狀況發生的原因
SA.png
許仲宇
unread,
Nov 12, 2025, 11:54:30 AM
Nov 12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
同學您好:
請您檢查投影片第七頁的要求,確認 sysadm 的 start directory 是否已經在 $SFTP_ROOT
另外,有許多同學也遇到相似的問題,請您確保您的 judge user 可以透過 public key 登入,且擁有 sudo without password 的權限(投影片第三頁)
謝謝
elain...@gmail.com
在 2025年11月12日 星期三晚上7:23:24 [UTC+8] 的信中寫道:
陳靖昀
unread,
Nov 12, 2025, 12:43:57 PM
Nov 12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to NYCU NASA 課程討論區
助教您好:
經多次嘗試後發現是我失誤改到judge的authorized_keys權限,因為想說前三筆測資都有通過便沒有懷疑hw0的設定,謝謝助教回覆!
twofour...@nycu.edu.tw
在 2025年11月13日 星期四凌晨12:54:30 [UTC+8] 的信中寫道:
Reply all
Reply to author
Forward
0 new messages