Re: negative group permissions?

看板FB_current作者時間14年前 (2012/02/29 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/20 (看更多)
Anton Shterenlikht <mexas <at> bristol.ac.uk> writes: > > This was discussed in questions@ with no resolution. > Anybody here can advise further? > ... Regarding file .seq or .SEQ It is an intermediate-processing (run-time) lockfile found in various spool dirs and their sub-dirs, like /var/spool/cron/ /at, /lpd, etc. It is used to save job# by the respective programs (cron, at, etc). You can find a ref to .SEQ in file at.c in at port sources. I did not see ref to .seq in lpr or cron port sources. The periodic security check /etc/periodic/security/110.neggrpperm checks for risque condition like ! -perm +010 -and -perm +001 The file should not be executable, according to its purpose. So the lpr.c should be changed from if ((fd = open(buf, O_RDWR|O_CREAT, 0661)) < 0) { to if ((fd = open(buf, O_RDWR|O_CREAT, 0660)) < 0) { File a bug report. jb _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1FJHPb6q (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1FJHPb6q (FB_current)